#405B2A#405B2A

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

Color values

HEX#405B2A
RGBrgb(64, 91, 42)
HSLhsl(93, 37%, 26%)
HSVhsv(93, 54%, 36%)
CMYKcmyk(29.7%, 0%, 53.8%, 64.3%)
CIE-LABlab(35.48, -19.82, 24.88)
CIE-LCHlch(35.48, 31.81, 128.54°)
OKLaboklab(43.69% -0.0549 0.0596)
OKLCHoklch(43.69% 0.081 132.6)
XYZxyz(6.2733, 8.7391, 3.5463)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B2A #452A5B
analogous
#585B2A #405B2A #2A5B2C
triadic
#405B2A #2A405B #5B2A40
tetradic
#405B2A #2A585B #452A5B #5B2C2A
square
#405B2A #2A585B #452A5B #5B2C2A
split-complementary
#405B2A #2C2A5B #5B2A58
monochromatic
#0F150A #233117 #405B2A #5D853D #7BAF51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405B2A#FFFFFF#000000##FFFFFF
##405B2A1.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)
#5F5526
Deuteranopia (green-blind)
#5B532D
Tritanopia (blue-blind)
#415850
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b2a;
/* rgb */ color: rgb(64, 91, 42);
/* oklch */ color: oklch(43.7% 0.081 132.6);
Tailwind
colors: {
  custom: {
    50: '#768965',
    500: '#405b2a',
    950: '#000000',
  },
}
SCSS
$custom: #405b2a;
$custom-light: #768965;
$custom-dark: #000000;
JSON
{
  "hex": "#405b2a",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 42
  },
  "hsl": {
    "h": 93.061,
    "s": 36.842,
    "l": 26.078
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.081,
    "h": 132.6
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#405B2A
secondary
#73538D
accent
#5BCD9A
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090B05
muted
#7B7C7A

Preview Lab

Preview with #405B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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