#404A15#404A15

#404A15 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.8% C 0.076 H 119.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#404A15
RGBrgb(64, 74, 21)
HSLhsl(71, 56%, 19%)
HSVhsv(71, 72%, 29%)
CMYKcmyk(13.5%, 0%, 71.6%, 71%)
CIE-LABlab(29.52, -12.69, 29.21)
CIE-LCHlch(29.52, 31.85, 113.49°)
OKLaboklab(38.8% -0.0371 0.0664)
OKLCHoklch(38.8% 0.076 119.2)
XYZxyz(4.6986, 6.0417, 1.6280)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A15 #1F154A
analogous
#4A3915 #404A15 #254A15
triadic
#404A15 #15404A #4A1540
tetradic
#404A15 #154A39 #1F154A #4A1525
square
#404A15 #154A39 #1F154A #4A1525
split-complementary
#404A15 #15254A #39154A
monochromatic
#151807 #171A07 #404A15 #697A23 #92A930

Accessibility & contrast

On white

9.51
#404A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404A15
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A15#FFFFFF#000000##FFFFFF
##404A151.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404a15;
/* rgb */ color: rgb(64, 74, 21);
/* oklch */ color: oklch(38.8% 0.076 119.2);
Tailwind
colors: {
  custom: {
    50: '#777c55',
    500: '#404a15',
    950: '#000000',
  },
}
SCSS
$custom: #404a15;
$custom-light: #777c55;
$custom-dark: #000000;
JSON
{
  "hex": "#404a15",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 71.321,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.07609,
    "h": 119.2
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#404A15
secondary
#473982
accent
#49DF65
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404A15

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

Preview Lab → · Contrast checker → · Palette generator →

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