#404210#404210

#404210 is a dark, moderate yellow. Relative luminance 0.050; OKLCH L 36.6% C 0.069 H 111.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#404210
RGBrgb(64, 66, 16)
HSLhsl(62, 61%, 16%)
HSVhsv(62, 76%, 26%)
CMYKcmyk(3%, 0%, 75.8%, 74.1%)
CIE-LABlab(26.80, -8.34, 28.79)
CIE-LCHlch(26.80, 29.97, 106.16°)
OKLaboklab(36.61% -0.0256 0.0646)
OKLCHoklch(36.61% 0.069 111.6)
XYZxyz(4.1562, 5.0239, 1.2409)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404210 #121042
analogous
#422B10 #404210 #274210
triadic
#404210 #104042 #421040
tetradic
#404210 #10422B #121042 #421027
square
#404210 #10422B #121042 #421027
split-complementary
#404210 #102742 #2B1042
monochromatic
#181906 #181906 #404210 #70731C #A0A528

Accessibility & contrast

On white

10.47
#404210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404210
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404210#FFFFFF#000000##FFFFFF
##4042101.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F09
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#453E38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404210;
/* rgb */ color: rgb(64, 66, 16);
/* oklch */ color: oklch(36.6% 0.069 111.6);
Tailwind
colors: {
  custom: {
    50: '#777652',
    500: '#404210',
    950: '#000000',
  },
}
SCSS
$custom: #404210;
$custom-light: #777652;
$custom-dark: #000000;
JSON
{
  "hex": "#404210",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 16
  },
  "hsl": {
    "h": 62.4,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36612,
    "c": 0.06949,
    "h": 111.6
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#404210
secondary
#35327C
accent
#44E44A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404210

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

Preview Lab → · Contrast checker → · Palette generator →

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