#38400A

A color in the Yellow, Gold family

#38400a is a color in the Yellow, Gold family: RGB(56, 64, 10), HSL(69°, 73%, 15%), CMYK(13%, 0%, 84%, 75%). Closest named color: darkslategray. Contrast is 11.02:1 on white and 1.91:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#38400a
RGBrgb(56 64 10)
RGB (legacy)rgb(56, 64, 10)
RGB %rgb(22% 25% 4%)
HSLhsl(69 73% 15%)
HSV / HSBhsv(69, 84%, 25%)
HWBhwb(69 4% 75%)
CMYKcmyk(13%, 0%, 84%, 75%)
CIELAB (D50)lab(25.48 -9.52 29.43)
LCHlch(25.48 30.93 107.93)
OKLaboklab(0.3525 -0.0347 0.0657)
OKLCHoklch(0.3525 0.0743 117.86)
Decimal3686410

Properties

Color ToneYellow, Gold
Closest named colordarkslategray ΔE 9.1
Closest web-safe color#333300
Hue69°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)15%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)22% / 23%
Relative luminance (WCAG)0.0453
Red / Green / Blue56 / 64 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.02:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.91:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 95.4 / 0 · As background with white / black text: Lc -99.2 / 8.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #38400a;
  --color-brand-oklch: oklch(35.25% 0.0743 117.86);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(56 64 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#38400a] text-[#38400a] border-[#38400a]">