#404B17#404B17

#404B17 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.1% C 0.076 H 120.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#404B17
RGBrgb(64, 75, 23)
HSLhsl(73, 53%, 19%)
HSVhsv(73, 69%, 29%)
CMYKcmyk(14.7%, 0%, 69.3%, 70.6%)
CIE-LABlab(29.87, -13.10, 28.60)
CIE-LCHlch(29.87, 31.46, 114.61°)
OKLaboklab(39.1% -0.0381 0.0654)
OKLCHoklch(39.1% 0.076 120.2)
XYZxyz(4.7852, 6.1840, 1.7520)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B17 #22174B
analogous
#4B3C17 #404B17 #264B17
triadic
#404B17 #17404B #4B1740
tetradic
#404B17 #174B3C #22174B #4B1726
square
#404B17 #174B3C #22174B #4B1726
split-complementary
#404B17 #17264B #3C174B
monochromatic
#141707 #181C09 #404B17 #687A25 #90A934

Accessibility & contrast

On white

9.39
#404B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#404B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B17
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B17#FFFFFF#000000##FFFFFF
##404B171.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504611
Deuteranopia (green-blind)
#4F461B
Tritanopia (blue-blind)
#444740
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404b17;
/* rgb */ color: rgb(64, 75, 23);
/* oklch */ color: oklch(39.1% 0.076 120.2);
Tailwind
colors: {
  custom: {
    50: '#767d57',
    500: '#404b17',
    950: '#000000',
  },
}
SCSS
$custom: #404b17;
$custom-light: #767d57;
$custom-dark: #000000;
JSON
{
  "hex": "#404b17",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 23
  },
  "hsl": {
    "h": 72.692,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39095,
    "c": 0.07569,
    "h": 120.2
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#404B17
secondary
#4B3C82
accent
#4BDC6A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404B17

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

Preview Lab → · Contrast checker → · Palette generator →

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