#404E19#404E19

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

Color values

HEX#404E19
RGBrgb(64, 78, 25)
HSLhsl(76, 51%, 20%)
HSVhsv(76, 68%, 31%)
CMYKcmyk(17.9%, 0%, 67.9%, 69.4%)
CIE-LABlab(30.90, -14.63, 28.71)
CIE-LCHlch(30.90, 32.22, 117.00°)
OKLaboklab(39.93% -0.0421 0.066)
OKLCHoklch(39.93% 0.078 122.5)
XYZxyz(5.0143, 6.6089, 1.9310)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E19 #27194E
analogous
#4E4119 #404E19 #254E19
triadic
#404E19 #19404E #4E1940
tetradic
#404E19 #194E41 #27194E #4E1925
square
#404E19 #194E41 #27194E #4E1925
split-complementary
#404E19 #19254E #41194E
monochromatic
#131707 #1A200A #404E19 #667C28 #8CAB37

Accessibility & contrast

On white

9.04
#404E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404E19
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E19#FFFFFF#000000##FFFFFF
##404E191.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534913
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#434A43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404e19;
/* rgb */ color: rgb(64, 78, 25);
/* oklch */ color: oklch(39.9% 0.078 122.5);
Tailwind
colors: {
  custom: {
    50: '#767f58',
    500: '#404e19',
    950: '#000000',
  },
}
SCSS
$custom: #404e19;
$custom-light: #767f58;
$custom-dark: #000000;
JSON
{
  "hex": "#404e19",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 75.849,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39928,
    "c": 0.07825,
    "h": 122.5
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#404E19
secondary
#513E84
accent
#4DDB72
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404E19

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

Preview Lab → · Contrast checker → · Palette generator →

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