#405E19#405E19

#405E19 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.3% C 0.102 H 130.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#405E19
RGBrgb(64, 94, 25)
HSLhsl(86, 58%, 23%)
HSVhsv(86, 73%, 37%)
CMYKcmyk(31.9%, 0%, 73.4%, 63.1%)
CIE-LABlab(36.30, -23.16, 34.43)
CIE-LCHlch(36.30, 41.50, 123.93°)
OKLaboklab(44.3% -0.0656 0.078)
OKLCHoklch(44.3% 0.102 130.1)
XYZxyz(6.2925, 9.1654, 2.3571)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E19 #37195E
analogous
#5E5919 #405E19 #1D5E19
triadic
#405E19 #19405E #5E1940
tetradic
#405E19 #195E59 #37195E #5E191D
square
#405E19 #195E59 #37195E #5E191D
split-complementary
#405E19 #191D5E #59195E
monochromatic
#101806 #1F2E0C #405E19 #618E26 #82BF33

Accessibility & contrast

On white

7.41
#405E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E19
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E19#FFFFFF#000000##FFFFFF
##405E191.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570F
Deuteranopia (green-blind)
#5E551F
Tritanopia (blue-blind)
#425A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e19;
/* rgb */ color: rgb(64, 94, 25);
/* oklch */ color: oklch(44.3% 0.102 130.1);
Tailwind
colors: {
  custom: {
    50: '#788c5a',
    500: '#405e19',
    950: '#000000',
  },
}
SCSS
$custom: #405e19;
$custom-light: #788c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#405e19",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 86.087,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.10196,
    "h": 130.1
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#405E19
secondary
#643F94
accent
#47E18A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405E19

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

Preview Lab → · Contrast checker → · Palette generator →

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