#404207#404207

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

Color values

HEX#404207
RGBrgb(64, 66, 7)
HSLhsl(62, 81%, 14%)
HSVhsv(62, 89%, 26%)
CMYKcmyk(3%, 0%, 89.4%, 74.1%)
CIE-LABlab(26.74, -8.85, 32.51)
CIE-LCHlch(26.74, 33.69, 105.24°)
OKLaboklab(36.54% -0.028 0.0705)
OKLCHoklch(36.54% 0.076 111.7)
XYZxyz(4.1011, 5.0019, 0.9504)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404207 #090742
analogous
#422707 #404207 #234207
triadic
#404207 #074042 #420740
tetradic
#404207 #074227 #090742 #420723
square
#404207 #074227 #090742 #420723
split-complementary
#404207 #072342 #270742
monochromatic
#1B1C03 #1B1C03 #404207 #76790D #ABB113

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404207#FFFFFF#000000##FFFFFF
##4042071.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)
#48400C
Tritanopia (blue-blind)
#453D37
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404207;
/* rgb */ color: rgb(64, 66, 7);
/* oklch */ color: oklch(36.5% 0.076 111.7);
Tailwind
colors: {
  custom: {
    50: '#77764d',
    500: '#404207',
    950: '#000000',
  },
}
SCSS
$custom: #404207;
$custom-light: #77764d;
$custom-dark: #000000;
JSON
{
  "hex": "#404207",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 62.034,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36542,
    "c": 0.0759,
    "h": 111.7
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#404207
secondary
#272481
accent
#31F737
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404207

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

Preview Lab → · Contrast checker → · Palette generator →

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