#404D15#404D15

#404D15 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.6% C 0.080 H 121.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#404D15
RGBrgb(64, 77, 21)
HSLhsl(74, 57%, 19%)
HSVhsv(74, 73%, 30%)
CMYKcmyk(16.9%, 0%, 72.7%, 69.8%)
CIE-LABlab(30.53, -14.40, 30.26)
CIE-LCHlch(30.53, 33.52, 115.45°)
OKLaboklab(39.61% -0.0419 0.0686)
OKLCHoklch(39.61% 0.08 121.4)
XYZxyz(4.9037, 6.4519, 1.6963)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D15 #22154D
analogous
#4D3E15 #404D15 #244D15
triadic
#404D15 #15404D #4D1540
tetradic
#404D15 #154D3E #22154D #4D1524
square
#404D15 #154D3E #22154D #4D1524
split-complementary
#404D15 #15244D #3E154D
monochromatic
#141807 #181D08 #404D15 #687D22 #90AD2F

Accessibility & contrast

On white

9.17
#404D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#404D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D15
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D15#FFFFFF#000000##FFFFFF
##404D151.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#444942
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404d15;
/* rgb */ color: rgb(64, 77, 21);
/* oklch */ color: oklch(39.6% 0.080 121.4);
Tailwind
colors: {
  custom: {
    50: '#777e56',
    500: '#404d15',
    950: '#000000',
  },
}
SCSS
$custom: #404d15;
$custom-light: #777e56;
$custom-dark: #000000;
JSON
{
  "hex": "#404d15",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 73.929,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39614,
    "c": 0.08041,
    "h": 121.4
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#404D15
secondary
#4B3985
accent
#47E06B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404D15

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

Preview Lab → · Contrast checker → · Palette generator →

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