#404E0B#404E0B

#404E0B is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.089 H 121.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#404E0B
RGBrgb(64, 78, 11)
HSLhsl(73, 75%, 17%)
HSVhsv(73, 86%, 31%)
CMYKcmyk(17.9%, 0%, 85.9%, 69.4%)
CIE-LABlab(30.79, -15.60, 34.67)
CIE-LCHlch(30.79, 38.02, 114.23°)
OKLaboklab(39.81% -0.0462 0.076)
OKLCHoklch(39.81% 0.089 121.3)
XYZxyz(4.8992, 6.5629, 1.3252)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E0B #190B4E
analogous
#4E3A0B #404E0B #1F4E0B
triadic
#404E0B #0B404E #4E0B40
tetradic
#404E0B #0B4E3A #190B4E #4E0B1F
square
#404E0B #0B4E3A #190B4E #4E0B1F
split-complementary
#404E0B #0B1F4E #3A0B4E
monochromatic
#161B04 #161B04 #404E0B #6C8413 #98B91A

Accessibility & contrast

On white

9.08
#404E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#404E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E0B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E0B#FFFFFF#000000##FFFFFF
##404E0B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#444942
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404e0b;
/* rgb */ color: rgb(64, 78, 11);
/* oklch */ color: oklch(39.8% 0.089 121.3);
Tailwind
colors: {
  custom: {
    50: '#777f51',
    500: '#404e0b',
    950: '#000000',
  },
}
SCSS
$custom: #404e0b;
$custom-light: #777f51;
$custom-dark: #000000;
JSON
{
  "hex": "#404e0b",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 72.537,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39806,
    "c": 0.08896,
    "h": 121.3
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#404E0B
secondary
#3F2B8A
accent
#36F25D
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #404E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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