#405D1E#405D1E

#405D1E is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.1% C 0.096 H 130.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#405D1E
RGBrgb(64, 93, 30)
HSLhsl(88, 51%, 24%)
HSVhsv(88, 68%, 36%)
CMYKcmyk(31.2%, 0%, 67.7%, 63.5%)
CIE-LABlab(36.01, -22.22, 31.80)
CIE-LCHlch(36.01, 38.79, 124.94°)
OKLaboklab(44.08% -0.0625 0.0732)
OKLCHoklch(44.08% 0.096 130.5)
XYZxyz(6.2630, 9.0122, 2.6376)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D1E #3B1E5D
analogous
#5D5B1E #405D1E #215D1E
triadic
#405D1E #1E405D #5D1E40
tetradic
#405D1E #1E5D5B #3B1E5D #5D1E21
square
#405D1E #1E5D5B #3B1E5D #5D1E21
split-complementary
#405D1E #1E215D #5B1E5D
monochromatic
#101707 #202F0F #405D1E #608B2D #80BA3C

Accessibility & contrast

On white

7.49
#405D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405D1E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D1E#FFFFFF#000000##FFFFFF
##405D1E1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615616
Deuteranopia (green-blind)
#5D5423
Tritanopia (blue-blind)
#415950
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405d1e;
/* rgb */ color: rgb(64, 93, 30);
/* oklch */ color: oklch(44.1% 0.096 130.5);
Tailwind
colors: {
  custom: {
    50: '#778b5d',
    500: '#405d1e',
    950: '#000000',
  },
}
SCSS
$custom: #405d1e;
$custom-light: #778b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#405d1e",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 30
  },
  "hsl": {
    "h": 87.619,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.0963,
    "h": 130.5
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#405D1E
secondary
#684592
accent
#4DDB8E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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