#404B18#404B18

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

Color values

HEX#404B18
RGBrgb(64, 75, 24)
HSLhsl(73, 52%, 19%)
HSVhsv(73, 68%, 29%)
CMYKcmyk(14.7%, 0%, 68%, 70.6%)
CIE-LABlab(29.88, -13.01, 28.10)
CIE-LCHlch(29.88, 30.97, 114.84°)
OKLaboklab(39.11% -0.0377 0.0645)
OKLCHoklch(39.11% 0.075 120.3)
XYZxyz(4.7954, 6.1881, 1.8058)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B18 #23184B
analogous
#4B3D18 #404B18 #274B18
triadic
#404B18 #18404B #4B1840
tetradic
#404B18 #184B3D #23184B #4B1827
square
#404B18 #184B3D #23184B #4B1827
split-complementary
#404B18 #18274B #3D184B
monochromatic
#141707 #181D09 #404B18 #687927 #8FA836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404B18#FFFFFF#000000##FFFFFF
##404B181.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)
#504612
Deuteranopia (green-blind)
#4F461B
Tritanopia (blue-blind)
#444740
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404b18;
/* rgb */ color: rgb(64, 75, 24);
/* oklch */ color: oklch(39.1% 0.075 120.3);
Tailwind
colors: {
  custom: {
    50: '#767d57',
    500: '#404b18',
    950: '#000000',
  },
}
SCSS
$custom: #404b18;
$custom-light: #767d57;
$custom-dark: #000000;
JSON
{
  "hex": "#404b18",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 72.941,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39106,
    "c": 0.07474,
    "h": 120.3
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#404B18
secondary
#4C3D82
accent
#4DDB6B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404B18

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

Preview Lab → · Contrast checker → · Palette generator →

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