#404205#404205

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

Color values

HEX#404205
RGBrgb(64, 66, 5)
HSLhsl(62, 86%, 14%)
HSVhsv(62, 92%, 26%)
CMYKcmyk(3%, 0%, 92.4%, 74.1%)
CIE-LABlab(26.73, -8.96, 33.31)
CIE-LCHlch(26.73, 34.50, 105.05°)
OKLaboklab(36.53% -0.0285 0.0718)
OKLCHoklch(36.53% 0.077 111.7)
XYZxyz(4.0901, 4.9975, 0.8927)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404205 #070542
analogous
#422605 #404205 #224205
triadic
#404205 #054042 #420540
tetradic
#404205 #054226 #070542 #420522
square
#404205 #054226 #070542 #420522
split-complementary
#404205 #052242 #260542
monochromatic
#1C1C02 #1C1C02 #404205 #777B09 #AEB40E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404205#FFFFFF#000000##FFFFFF
##4042051.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)
#483E00
Deuteranopia (green-blind)
#48400B
Tritanopia (blue-blind)
#453D37
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404205;
/* rgb */ color: rgb(64, 66, 5);
/* oklch */ color: oklch(36.5% 0.077 111.7);
Tailwind
colors: {
  custom: {
    50: '#77764c',
    500: '#404205',
    950: '#000000',
  },
}
SCSS
$custom: #404205;
$custom-light: #77764c;
$custom-dark: #000000;
JSON
{
  "hex": "#404205",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 61.967,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.07722,
    "h": 111.7
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#404205
secondary
#242082
accent
#2CFC33
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404205

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

Preview Lab → · Contrast checker → · Palette generator →

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