#405A2B#405A2B

#405A2B is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.4% C 0.078 H 132.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#405A2B
RGBrgb(64, 90, 43)
HSLhsl(93, 35%, 26%)
HSVhsv(93, 52%, 35%)
CMYKcmyk(28.9%, 0%, 52.2%, 64.7%)
CIE-LABlab(35.16, -19.16, 23.93)
CIE-LCHlch(35.16, 30.65, 128.68°)
OKLaboklab(43.44% -0.0529 0.0576)
OKLCHoklch(43.44% 0.078 132.6)
XYZxyz(6.2065, 8.5766, 3.6135)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A2B #452B5A
analogous
#575A2B #405A2B #2B5A2D
triadic
#405A2B #2B405A #5A2B40
tetradic
#405A2B #2B575A #452B5A #5A2D2B
square
#405A2B #2B575A #452B5A #5A2D2B
split-complementary
#405A2B #2D2B5A #5A2B57
monochromatic
#0F150A #233117 #405A2B #5D833F #7BAD53

Accessibility & contrast

On white

7.73
#405A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#405A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405A2B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A2B#FFFFFF#000000##FFFFFF
##405A2B1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5427
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#41574F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405a2b;
/* rgb */ color: rgb(64, 90, 43);
/* oklch */ color: oklch(43.4% 0.078 132.6);
Tailwind
colors: {
  custom: {
    50: '#768865',
    500: '#405a2b',
    950: '#000000',
  },
}
SCSS
$custom: #405a2b;
$custom-light: #768865;
$custom-dark: #000000;
JSON
{
  "hex": "#405a2b",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 43
  },
  "hsl": {
    "h": 93.191,
    "s": 35.338,
    "l": 26.078
  },
  "oklch": {
    "l": 0.43439,
    "c": 0.0782,
    "h": 132.6
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#405A2B
secondary
#73558C
accent
#5CCB9A
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080B06
muted
#7B7C7A

Preview Lab

Preview with #405A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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