#405B2E#405B2E

#405B2E is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.8% C 0.076 H 134.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#405B2E
RGBrgb(64, 91, 46)
HSLhsl(96, 33%, 27%)
HSVhsv(96, 49%, 36%)
CMYKcmyk(29.7%, 0%, 49.5%, 64.3%)
CIE-LABlab(35.54, -19.27, 22.69)
CIE-LCHlch(35.54, 29.77, 130.34°)
OKLaboklab(43.76% -0.0531 0.055)
OKLCHoklch(43.76% 0.076 134)
XYZxyz(6.3484, 8.7692, 3.9424)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B2E #492E5B
analogous
#575B2E #405B2E #2E5B33
triadic
#405B2E #2E405B #5B2E40
tetradic
#405B2E #2E575B #492E5B #5B332E
square
#405B2E #2E575B #492E5B #5B332E
split-complementary
#405B2E #332E5B #5B2E57
monochromatic
#0E140A #233219 #405B2E #5D8443 #79AB59

Accessibility & contrast

On white

7.63
#405B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#405B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B2E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B2E#FFFFFF#000000##FFFFFF
##405B2E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552A
Deuteranopia (green-blind)
#5A5331
Tritanopia (blue-blind)
#405850
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405b2e;
/* rgb */ color: rgb(64, 91, 46);
/* oklch */ color: oklch(43.8% 0.076 134.0);
Tailwind
colors: {
  custom: {
    50: '#768967',
    500: '#405b2e',
    950: '#000000',
  },
}
SCSS
$custom: #405b2e;
$custom-light: #768967;
$custom-dark: #000000;
JSON
{
  "hex": "#405b2e",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 46
  },
  "hsl": {
    "h": 96,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.43761,
    "c": 0.07641,
    "h": 134
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#405B2E
secondary
#78588D
accent
#5FC99F
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080B06
muted
#7B7C7A

Preview Lab

Preview with #405B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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