#404F19#404F19

#404F19 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.080 H 123.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#404F19
RGBrgb(64, 79, 25)
HSLhsl(77, 52%, 20%)
HSVhsv(77, 68%, 31%)
CMYKcmyk(19%, 0%, 68.4%, 69%)
CIE-LABlab(31.24, -15.19, 29.07)
CIE-LCHlch(31.24, 32.80, 117.59°)
OKLaboklab(40.2% -0.0436 0.0667)
OKLCHoklch(40.2% 0.08 123.2)
XYZxyz(5.0858, 6.7521, 1.9549)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F19 #28194F
analogous
#4F4319 #404F19 #254F19
triadic
#404F19 #19404F #4F1940
tetradic
#404F19 #194F43 #28194F #4F1925
square
#404F19 #194F43 #28194F #4F1925
split-complementary
#404F19 #19254F #43194F
monochromatic
#131707 #1A210A #404F19 #667D28 #8BAC36

Accessibility & contrast

On white

8.93
#404F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#404F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F19
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F19#FFFFFF#000000##FFFFFF
##404F191.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A12
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#434B44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404f19;
/* rgb */ color: rgb(64, 79, 25);
/* oklch */ color: oklch(40.2% 0.080 123.2);
Tailwind
colors: {
  custom: {
    50: '#778058',
    500: '#404f19',
    950: '#000000',
  },
}
SCSS
$custom: #404f19;
$custom-light: #778058;
$custom-dark: #000000;
JSON
{
  "hex": "#404f19",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 76.667,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.402,
    "c": 0.07975,
    "h": 123.2
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#404F19
secondary
#523E85
accent
#4CDB74
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404F19

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

Preview Lab → · Contrast checker → · Palette generator →

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