#405B1D#405B1D

#405B1D is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.5% C 0.094 H 129.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#405B1D
RGBrgb(64, 91, 29)
HSLhsl(86, 52%, 24%)
HSVhsv(86, 68%, 36%)
CMYKcmyk(29.7%, 0%, 68.1%, 64.3%)
CIE-LABlab(35.32, -21.28, 31.54)
CIE-LCHlch(35.32, 38.05, 124.01°)
OKLaboklab(43.52% -0.0601 0.0725)
OKLCHoklch(43.52% 0.094 129.6)
XYZxyz(6.0772, 8.6607, 2.5137)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B1D #381D5B
analogous
#5B571D #405B1D #215B1D
triadic
#405B1D #1D405B #5B1D40
tetradic
#405B1D #1D5B57 #381D5B #5B1D21
square
#405B1D #1D5B57 #381D5B #5B1D21
split-complementary
#405B1D #1D215B #571D5B
monochromatic
#101707 #1F2D0E #405B1D #61892C #81B83B

Accessibility & contrast

On white

7.69
#405B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405B1D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B1D#FFFFFF#000000##FFFFFF
##405B1D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405b1d;
/* rgb */ color: rgb(64, 91, 29);
/* oklch */ color: oklch(43.5% 0.094 129.6);
Tailwind
colors: {
  custom: {
    50: '#77895c',
    500: '#405b1d',
    950: '#000000',
  },
}
SCSS
$custom: #405b1d;
$custom-light: #77895c;
$custom-dark: #000000;
JSON
{
  "hex": "#405b1d",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 29
  },
  "hsl": {
    "h": 86.129,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43519,
    "c": 0.09418,
    "h": 129.6
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#405B1D
secondary
#654490
accent
#4DDB8B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #405B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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