#405E2B#405E2B

#405E2B is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.085 H 133.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#405E2B
RGBrgb(64, 94, 43)
HSLhsl(95, 37%, 27%)
HSVhsv(95, 54%, 37%)
CMYKcmyk(31.9%, 0%, 54.3%, 63.1%)
CIE-LABlab(36.50, -21.26, 25.57)
CIE-LCHlch(36.50, 33.25, 129.75°)
OKLaboklab(44.53% -0.0588 0.0612)
OKLCHoklch(44.53% 0.085 133.9)
XYZxyz(6.5530, 9.2696, 3.7290)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E2B #492B5E
analogous
#5A5E2B #405E2B #2B5E30
triadic
#405E2B #2B405E #5E2B40
tetradic
#405E2B #2B5A5E #492B5E #5E302B
square
#405E2B #2B5A5E #492B5E #5E302B
split-complementary
#405E2B #302B5E #5E2B5A
monochromatic
#0E150A #233418 #405E2B #5D883E #79B053

Accessibility & contrast

On white

7.36
#405E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#405E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E2B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E2B#FFFFFF#000000##FFFFFF
##405E2B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615726
Deuteranopia (green-blind)
#5D552E
Tritanopia (blue-blind)
#405B52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405e2b;
/* rgb */ color: rgb(64, 94, 43);
/* oklch */ color: oklch(44.5% 0.085 133.9);
Tailwind
colors: {
  custom: {
    50: '#768c66',
    500: '#405e2b',
    950: '#000000',
  },
}
SCSS
$custom: #405e2b;
$custom-light: #768c66;
$custom-dark: #000000;
JSON
{
  "hex": "#405e2b",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 95.294,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44526,
    "c": 0.08483,
    "h": 133.9
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#405E2B
secondary
#785590
accent
#5BCD9E
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #405E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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