#405D19#405D19

#405D19 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.0% C 0.101 H 129.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#405D19
RGBrgb(64, 93, 25)
HSLhsl(86, 58%, 23%)
HSVhsv(86, 73%, 36%)
CMYKcmyk(31.2%, 0%, 73.1%, 63.5%)
CIE-LABlab(35.96, -22.66, 34.08)
CIE-LCHlch(35.96, 40.93, 123.61°)
OKLaboklab(44.03% -0.0642 0.0773)
OKLCHoklch(44.03% 0.101 129.7)
XYZxyz(6.2041, 8.9887, 2.3276)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D19 #36195D
analogous
#5D5819 #405D19 #1E5D19
triadic
#405D19 #19405D #5D1940
tetradic
#405D19 #195D58 #36195D #5D191E
square
#405D19 #195D58 #36195D #5D191E
split-complementary
#405D19 #191E5D #58195D
monochromatic
#111806 #1F2D0C #405D19 #618D26 #82BD33

Accessibility & contrast

On white

7.51
#405D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#405D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405D19
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D19#FFFFFF#000000##FFFFFF
##405D191.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560F
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#42594F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405d19;
/* rgb */ color: rgb(64, 93, 25);
/* oklch */ color: oklch(44.0% 0.101 129.7);
Tailwind
colors: {
  custom: {
    50: '#778b5a',
    500: '#405d19',
    950: '#000000',
  },
}
SCSS
$custom: #405d19;
$custom-light: #778b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#405d19",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 85.588,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.1005,
    "h": 129.7
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#405D19
secondary
#633F93
accent
#47E189
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405D19

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

Preview Lab → · Contrast checker → · Palette generator →

#405D19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva