#404B0B#404B0B

#404B0B is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 39.0% C 0.085 H 119.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#404B0B
RGBrgb(64, 75, 11)
HSLhsl(70, 74%, 17%)
HSVhsv(70, 85%, 29%)
CMYKcmyk(14.7%, 0%, 85.3%, 70.6%)
CIE-LABlab(29.78, -13.92, 33.74)
CIE-LCHlch(29.78, 36.50, 112.41°)
OKLaboklab(38.99% -0.0416 0.0741)
OKLCHoklch(38.99% 0.085 119.3)
XYZxyz(4.6909, 6.1463, 1.2558)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B0B #160B4B
analogous
#4B360B #404B0B #204B0B
triadic
#404B0B #0B404B #4B0B40
tetradic
#404B0B #0B4B36 #160B4B #4B0B20
square
#404B0B #0B4B36 #160B4B #4B0B20
split-complementary
#404B0B #0B204B #360B4B
monochromatic
#171B04 #171B04 #404B0B #6E8013 #9BB61B

Accessibility & contrast

On white

9.42
#404B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#404B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B0B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B0B#FFFFFF#000000##FFFFFF
##404B0B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#4F4611
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404b0b;
/* rgb */ color: rgb(64, 75, 11);
/* oklch */ color: oklch(39.0% 0.085 119.3);
Tailwind
colors: {
  custom: {
    50: '#777d50',
    500: '#404b0b',
    950: '#000000',
  },
}
SCSS
$custom: #404b0b;
$custom-light: #777d50;
$custom-dark: #000000;
JSON
{
  "hex": "#404b0b",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 11
  },
  "hsl": {
    "h": 70.313,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.08494,
    "h": 119.3
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#404B0B
secondary
#3B2B87
accent
#37F157
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404B0B

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

Preview Lab → · Contrast checker → · Palette generator →

#404B0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva