#405F19#405F19

#405F19 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.6% C 0.103 H 130.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#405F19
RGBrgb(64, 95, 25)
HSLhsl(87, 58%, 24%)
HSVhsv(87, 74%, 37%)
CMYKcmyk(32.6%, 0%, 73.7%, 62.7%)
CIE-LABlab(36.64, -23.67, 34.78)
CIE-LCHlch(36.64, 42.07, 124.23°)
OKLaboklab(44.58% -0.067 0.0788)
OKLCHoklch(44.58% 0.103 130.4)
XYZxyz(6.3820, 9.3444, 2.3869)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F19 #38195F
analogous
#5F5B19 #405F19 #1D5F19
triadic
#405F19 #19405F #5F1940
tetradic
#405F19 #195F5B #38195F #5F191D
square
#405F19 #195F5B #38195F #5F191D
split-complementary
#405F19 #191D5F #5B195F
monochromatic
#101806 #1F2F0C #405F19 #618F26 #81C032

Accessibility & contrast

On white

7.32
#405F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#405F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F19
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F19#FFFFFF#000000##FFFFFF
##405F191.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580E
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#425B51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f19;
/* rgb */ color: rgb(64, 95, 25);
/* oklch */ color: oklch(44.6% 0.103 130.4);
Tailwind
colors: {
  custom: {
    50: '#788c5a',
    500: '#405f19',
    950: '#000000',
  },
}
SCSS
$custom: #405f19;
$custom-light: #788c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#405f19",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 86.571,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.1034,
    "h": 130.4
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#405F19
secondary
#653F95
accent
#46E28B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405F19

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

Preview Lab → · Contrast checker → · Palette generator →

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