#404E13#404E13

#404E13 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.9% C 0.084 H 121.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#404E13
RGBrgb(64, 78, 19)
HSLhsl(74, 61%, 19%)
HSVhsv(74, 76%, 31%)
CMYKcmyk(17.9%, 0%, 75.6%, 69.4%)
CIE-LABlab(30.84, -15.12, 31.52)
CIE-LCHlch(30.84, 34.95, 115.62°)
OKLaboklab(39.87% -0.0441 0.0709)
OKLCHoklch(39.87% 0.084 121.9)
XYZxyz(4.9564, 6.5858, 1.6260)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E13 #21134E
analogous
#4E3F13 #404E13 #234E13
triadic
#404E13 #13404E #4E1340
tetradic
#404E13 #134E3F #21134E #4E1323
square
#404E13 #134E3F #21134E #4E1323
split-complementary
#404E13 #13234E #3F134E
monochromatic
#141906 #181D07 #404E13 #687F1F #91B02B

Accessibility & contrast

On white

9.06
#404E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#404E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E13
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E13#FFFFFF#000000##FFFFFF
##404E131.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490A
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#444A42
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404e13;
/* rgb */ color: rgb(64, 78, 19);
/* oklch */ color: oklch(39.9% 0.084 121.9);
Tailwind
colors: {
  custom: {
    50: '#777f55',
    500: '#404e13',
    950: '#000000',
  },
}
SCSS
$custom: #404e13;
$custom-light: #777f55;
$custom-dark: #000000;
JSON
{
  "hex": "#404e13",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 74.237,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39867,
    "c": 0.0835,
    "h": 121.9
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#404E13
secondary
#493687
accent
#44E46A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404E13

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

Preview Lab → · Contrast checker → · Palette generator →

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