#404B19#404B19

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

Color values

HEX#404B19
RGBrgb(64, 75, 25)
HSLhsl(73, 50%, 20%)
HSVhsv(73, 67%, 29%)
CMYKcmyk(14.7%, 0%, 66.7%, 70.6%)
CIE-LABlab(29.89, -12.92, 27.60)
CIE-LCHlch(29.89, 30.48, 115.08°)
OKLaboklab(39.12% -0.0373 0.0636)
OKLCHoklch(39.12% 0.074 120.4)
XYZxyz(4.8060, 6.1923, 1.8616)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B19 #24194B
analogous
#4B3D19 #404B19 #274B19
triadic
#404B19 #19404B #4B1940
tetradic
#404B19 #194B3D #24194B #4B1927
square
#404B19 #194B3D #24194B #4B1927
split-complementary
#404B19 #19274B #3D194B
monochromatic
#141708 #191D0A #404B19 #677928 #8EA738

Accessibility & contrast

On white

9.38
#404B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404B19
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B19#FFFFFF#000000##FFFFFF
##404B191.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404b19;
/* rgb */ color: rgb(64, 75, 25);
/* oklch */ color: oklch(39.1% 0.074 120.4);
Tailwind
colors: {
  custom: {
    50: '#767d58',
    500: '#404b19',
    950: '#000000',
  },
}
SCSS
$custom: #404b19;
$custom-light: #767d58;
$custom-dark: #000000;
JSON
{
  "hex": "#404b19",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 25
  },
  "hsl": {
    "h": 73.2,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.07376,
    "h": 120.4
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#404B19
secondary
#4D3E81
accent
#4EDA6D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404B19

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

Preview Lab → · Contrast checker → · Palette generator →

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