#405B2B#405B2B

#405B2B is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.7% C 0.080 H 133.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#405B2B
RGBrgb(64, 91, 43)
HSLhsl(94, 36%, 26%)
HSVhsv(94, 53%, 36%)
CMYKcmyk(29.7%, 0%, 52.7%, 64.3%)
CIE-LABlab(35.49, -19.69, 24.34)
CIE-LCHlch(35.49, 31.30, 128.97°)
OKLaboklab(43.71% -0.0544 0.0585)
OKLCHoklch(43.71% 0.08 133)
XYZxyz(6.2914, 8.7464, 3.6418)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B2B #462B5B
analogous
#585B2B #405B2B #2B5B2E
triadic
#405B2B #2B405B #5B2B40
tetradic
#405B2B #2B585B #462B5B #5B2E2B
square
#405B2B #2B585B #462B5B #5B2E2B
split-complementary
#405B2B #2E2B5B #5B2B58
monochromatic
#0F150A #233117 #405B2B #5D853F #7BAE53

Accessibility & contrast

On white

7.64
#405B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405B2B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B2B#FFFFFF#000000##FFFFFF
##405B2B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5527
Deuteranopia (green-blind)
#5A532E
Tritanopia (blue-blind)
#405850
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b2b;
/* rgb */ color: rgb(64, 91, 43);
/* oklch */ color: oklch(43.7% 0.080 133.0);
Tailwind
colors: {
  custom: {
    50: '#768965',
    500: '#405b2b',
    950: '#000000',
  },
}
SCSS
$custom: #405b2b;
$custom-light: #768965;
$custom-dark: #000000;
JSON
{
  "hex": "#405b2b",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 43
  },
  "hsl": {
    "h": 93.75,
    "s": 35.821,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.07987,
    "h": 133
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#405B2B
secondary
#74558D
accent
#5CCC9B
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080B06
muted
#7B7C7A

Preview Lab

Preview with #405B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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