#404B0D#404B0D

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

Color values

HEX#404B0D
RGBrgb(64, 75, 13)
HSLhsl(71, 70%, 17%)
HSVhsv(71, 83%, 29%)
CMYKcmyk(14.7%, 0%, 82.7%, 70.6%)
CIE-LABlab(29.79, -13.81, 33.00)
CIE-LCHlch(29.79, 35.78, 112.71°)
OKLaboklab(39% -0.0411 0.0729)
OKLCHoklch(39% 0.084 119.4)
XYZxyz(4.7032, 6.1512, 1.3202)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B0D #180D4B
analogous
#4B370D #404B0D #214B0D
triadic
#404B0D #0D404B #4B0D40
tetradic
#404B0D #0D4B37 #180D4B #4B0D21
square
#404B0D #0D4B37 #180D4B #4B0D21
split-complementary
#404B0D #0D214B #370D4B
monochromatic
#161A05 #161A05 #404B0D #6D7F16 #99B31F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404B0D#FFFFFF#000000##FFFFFF
##404B0D1.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)
#504602
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404b0d;
/* rgb */ color: rgb(64, 75, 13);
/* oklch */ color: oklch(39.0% 0.084 119.4);
Tailwind
colors: {
  custom: {
    50: '#777d51',
    500: '#404b0d',
    950: '#000000',
  },
}
SCSS
$custom: #404b0d;
$custom-light: #777d51;
$custom-dark: #000000;
JSON
{
  "hex": "#404b0d",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 70.645,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.08368,
    "h": 119.4
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#404B0D
secondary
#3D2E86
accent
#3BED5A
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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