#405D1D#405D1D

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

Color values

HEX#405D1D
RGBrgb(64, 93, 29)
HSLhsl(87, 52%, 24%)
HSVhsv(87, 69%, 36%)
CMYKcmyk(31.2%, 0%, 68.8%, 63.5%)
CIE-LABlab(36.00, -22.31, 32.27)
CIE-LCHlch(36.00, 39.23, 124.66°)
OKLaboklab(44.07% -0.0629 0.0741)
OKLCHoklch(44.07% 0.097 130.3)
XYZxyz(6.2504, 9.0072, 2.5714)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D1D #3A1D5D
analogous
#5D5A1D #405D1D #205D1D
triadic
#405D1D #1D405D #5D1D40
tetradic
#405D1D #1D5D5A #3A1D5D #5D1D20
square
#405D1D #1D5D5A #3A1D5D #5D1D20
split-complementary
#405D1D #1D205D #5A1D5D
monochromatic
#101707 #202E0E #405D1D #608C2C #80BA3A

Accessibility & contrast

On white

7.50
#405D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405D1D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D1D#FFFFFF#000000##FFFFFF
##405D1D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615615
Deuteranopia (green-blind)
#5D5422
Tritanopia (blue-blind)
#425950
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405d1d;
/* rgb */ color: rgb(64, 93, 29);
/* oklch */ color: oklch(44.1% 0.097 130.3);
Tailwind
colors: {
  custom: {
    50: '#778b5c',
    500: '#405d1d',
    950: '#000000',
  },
}
SCSS
$custom: #405d1d;
$custom-light: #778b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#405d1d",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 29
  },
  "hsl": {
    "h": 87.188,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44068,
    "c": 0.09718,
    "h": 130.3
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#405D1D
secondary
#674492
accent
#4CDC8D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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