#404B0C#404B0C

#404B0C is a dark, moderate yellow-green. Relative luminance 0.061; 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#404B0C
RGBrgb(64, 75, 12)
HSLhsl(70, 72%, 17%)
HSVhsv(70, 84%, 29%)
CMYKcmyk(14.7%, 0%, 84%, 70.6%)
CIE-LABlab(29.78, -13.86, 33.38)
CIE-LCHlch(29.78, 36.14, 112.56°)
OKLaboklab(39% -0.0414 0.0735)
OKLCHoklch(39% 0.084 119.4)
XYZxyz(4.6969, 6.1487, 1.2871)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B0C #170C4B
analogous
#4B370C #404B0C #214B0C
triadic
#404B0C #0C404B #4B0C40
tetradic
#404B0C #0C4B37 #170C4B #4B0C21
square
#404B0C #0C4B37 #170C4B #4B0C21
split-complementary
#404B0C #0C214B #370C4B
monochromatic
#171A04 #171A04 #404B0C #6D8014 #9AB51D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404B0C#FFFFFF#000000##FFFFFF
##404B0C1.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)
#504601
Deuteranopia (green-blind)
#4F4612
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404b0c;
/* rgb */ color: rgb(64, 75, 12);
/* oklch */ color: oklch(39.0% 0.084 119.4);
Tailwind
colors: {
  custom: {
    50: '#777d51',
    500: '#404b0c',
    950: '#000000',
  },
}
SCSS
$custom: #404b0c;
$custom-light: #777d51;
$custom-dark: #000000;
JSON
{
  "hex": "#404b0c",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 70.476,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38996,
    "c": 0.08433,
    "h": 119.4
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#404B0C
secondary
#3C2C87
accent
#39EF59
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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