#405B19#405B19

#405B19 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.5% C 0.098 H 129.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#405B19
RGBrgb(64, 91, 25)
HSLhsl(85, 57%, 23%)
HSVhsv(85, 73%, 36%)
CMYKcmyk(29.7%, 0%, 72.5%, 64.3%)
CIE-LABlab(35.29, -21.63, 33.38)
CIE-LCHlch(35.29, 39.78, 122.95°)
OKLaboklab(43.48% -0.0614 0.0758)
OKLCHoklch(43.48% 0.098 129)
XYZxyz(6.0309, 8.6422, 2.2699)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B19 #34195B
analogous
#5B5519 #405B19 #1F5B19
triadic
#405B19 #19405B #5B1940
tetradic
#405B19 #195B55 #34195B #5B191F
square
#405B19 #195B55 #34195B #5B191F
split-complementary
#405B19 #191F5B #55195B
monochromatic
#111807 #1E2B0C #405B19 #628B26 #84BB33

Accessibility & contrast

On white

7.70
#405B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#405B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B19
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B19#FFFFFF#000000##FFFFFF
##405B191.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605410
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#42574E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b19;
/* rgb */ color: rgb(64, 91, 25);
/* oklch */ color: oklch(43.5% 0.098 129.0);
Tailwind
colors: {
  custom: {
    50: '#77895a',
    500: '#405b19',
    950: '#000000',
  },
}
SCSS
$custom: #405b19;
$custom-light: #77895a;
$custom-dark: #000000;
JSON
{
  "hex": "#405b19",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 84.545,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43478,
    "c": 0.09758,
    "h": 129
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#405B19
secondary
#603F91
accent
#48E086
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #405B19

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

Preview Lab → · Contrast checker → · Palette generator →

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