#404208#404208

#404208 is a dark, moderate yellow. Relative luminance 0.050; OKLCH L 36.5% C 0.075 H 111.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#404208
RGBrgb(64, 66, 8)
HSLhsl(62, 78%, 15%)
HSVhsv(62, 88%, 26%)
CMYKcmyk(3%, 0%, 87.9%, 74.1%)
CIE-LABlab(26.75, -8.80, 32.11)
CIE-LCHlch(26.75, 33.29, 105.33°)
OKLaboklab(36.55% -0.0278 0.0699)
OKLCHoklch(36.55% 0.075 111.7)
XYZxyz(4.1065, 5.0041, 0.9792)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404208 #0A0842
analogous
#422708 #404208 #234208
triadic
#404208 #084042 #420840
tetradic
#404208 #084227 #0A0842 #420823
square
#404208 #084227 #0A0842 #420823
split-complementary
#404208 #082342 #270842
monochromatic
#1A1B03 #1A1B03 #404208 #75790F #AAAF15

Accessibility & contrast

On white

10.50
#404208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#404208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404208
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404208#FFFFFF#000000##FFFFFF
##4042081.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F00
Deuteranopia (green-blind)
#48400D
Tritanopia (blue-blind)
#453D37
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404208;
/* rgb */ color: rgb(64, 66, 8);
/* oklch */ color: oklch(36.5% 0.075 111.7);
Tailwind
colors: {
  custom: {
    50: '#77764d',
    500: '#404208',
    950: '#000000',
  },
}
SCSS
$custom: #404208;
$custom-light: #77764d;
$custom-dark: #000000;
JSON
{
  "hex": "#404208",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 62.069,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.07524,
    "h": 111.7
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#404208
secondary
#292580
accent
#33F53A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404208

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#404208 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva