#405E1D#405E1D

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

Color values

HEX#405E1D
RGBrgb(64, 94, 29)
HSLhsl(88, 53%, 24%)
HSVhsv(88, 69%, 37%)
CMYKcmyk(31.9%, 0%, 69.1%, 63.1%)
CIE-LABlab(36.34, -22.82, 32.64)
CIE-LCHlch(36.34, 39.82, 124.96°)
OKLaboklab(44.34% -0.0643 0.0749)
OKLCHoklch(44.34% 0.099 130.7)
XYZxyz(6.3388, 9.1839, 2.6009)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E1D #3B1D5E
analogous
#5E5C1D #405E1D #205E1D
triadic
#405E1D #1D405E #5E1D40
tetradic
#405E1D #1D5E5C #3B1D5E #5E1D20
square
#405E1D #1D5E5C #3B1D5E #5E1D20
split-complementary
#405E1D #1D205E #5C1D5E
monochromatic
#101707 #202F0F #405E1D #608D2B #80BC3A

Accessibility & contrast

On white

7.40
#405E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#405E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E1D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E1D#FFFFFF#000000##FFFFFF
##405E1D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625715
Deuteranopia (green-blind)
#5E5522
Tritanopia (blue-blind)
#415A51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e1d;
/* rgb */ color: rgb(64, 94, 29);
/* oklch */ color: oklch(44.3% 0.099 130.7);
Tailwind
colors: {
  custom: {
    50: '#778c5c',
    500: '#405e1d',
    950: '#000000',
  },
}
SCSS
$custom: #405e1d;
$custom-light: #778c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#405e1d",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 29
  },
  "hsl": {
    "h": 87.692,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.09867,
    "h": 130.7
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#405E1D
secondary
#684493
accent
#4CDC8E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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