#404F15#404F15

#404F15 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.2% C 0.083 H 122.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#404F15
RGBrgb(64, 79, 21)
HSLhsl(76, 58%, 20%)
HSVhsv(76, 73%, 31%)
CMYKcmyk(19%, 0%, 73.4%, 69%)
CIE-LABlab(31.20, -15.53, 30.96)
CIE-LCHlch(31.20, 34.64, 116.63°)
OKLaboklab(40.16% -0.045 0.0701)
OKLCHoklch(40.16% 0.083 122.7)
XYZxyz(5.0457, 6.7361, 1.7437)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F15 #24154F
analogous
#4F4115 #404F15 #234F15
triadic
#404F15 #15404F #4F1540
tetradic
#404F15 #154F41 #24154F #4F1523
square
#404F15 #154F41 #24154F #4F1523
split-complementary
#404F15 #15234F #41154F
monochromatic
#141806 #191F08 #404F15 #677F22 #8EB02F

Accessibility & contrast

On white

8.95
#404F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404F15
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F15#FFFFFF#000000##FFFFFF
##404F151.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0D
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#444B43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404f15;
/* rgb */ color: rgb(64, 79, 21);
/* oklch */ color: oklch(40.2% 0.083 122.7);
Tailwind
colors: {
  custom: {
    50: '#778056',
    500: '#404f15',
    950: '#000000',
  },
}
SCSS
$custom: #404f15;
$custom-light: #778056;
$custom-dark: #000000;
JSON
{
  "hex": "#404f15",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 75.517,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.0833,
    "h": 122.7
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#404F15
secondary
#4D3987
accent
#47E16F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404F15

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

Preview Lab → · Contrast checker → · Palette generator →

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