#404A18#404A18

#404A18 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.8% C 0.073 H 119.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#404A18
RGBrgb(64, 74, 24)
HSLhsl(72, 51%, 19%)
HSVhsv(72, 68%, 29%)
CMYKcmyk(13.5%, 0%, 67.6%, 71%)
CIE-LABlab(29.55, -12.44, 27.74)
CIE-LCHlch(29.55, 30.40, 114.15°)
OKLaboklab(38.84% -0.0361 0.0638)
OKLCHoklch(38.84% 0.073 119.5)
XYZxyz(4.7281, 6.0535, 1.7833)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A18 #22184A
analogous
#4A3B18 #404A18 #274A18
triadic
#404A18 #18404A #4A1840
tetradic
#404A18 #184A3B #22184A #4A1827
square
#404A18 #184A3B #22184A #4A1827
split-complementary
#404A18 #18274A #3B184A
monochromatic
#141707 #181C09 #404A18 #687827 #90A636

Accessibility & contrast

On white

9.50
#404A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#404A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A18
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A18#FFFFFF#000000##FFFFFF
##404A181.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4612
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404a18;
/* rgb */ color: rgb(64, 74, 24);
/* oklch */ color: oklch(38.8% 0.073 119.5);
Tailwind
colors: {
  custom: {
    50: '#767c57',
    500: '#404a18',
    950: '#000000',
  },
}
SCSS
$custom: #404a18;
$custom-light: #767c57;
$custom-dark: #000000;
JSON
{
  "hex": "#404a18",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 72,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.07327,
    "h": 119.5
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#404A18
secondary
#4B3D81
accent
#4DDA6A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404A18

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

Preview Lab → · Contrast checker → · Palette generator →

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