#405C2B#405C2B

#405C2B is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.0% C 0.082 H 133.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#405C2B
RGBrgb(64, 92, 43)
HSLhsl(94, 36%, 26%)
HSVhsv(94, 53%, 36%)
CMYKcmyk(30.4%, 0%, 53.3%, 63.9%)
CIE-LABlab(35.83, -20.22, 24.75)
CIE-LCHlch(35.83, 31.96, 129.24°)
OKLaboklab(43.98% -0.0559 0.0594)
OKLCHoklch(43.98% 0.082 133.3)
XYZxyz(6.3774, 8.9185, 3.6705)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C2B #472B5C
analogous
#595C2B #405C2B #2B5C2F
triadic
#405C2B #2B405C #5C2B40
tetradic
#405C2B #2B595C #472B5C #5C2F2B
square
#405C2B #2B595C #472B5C #5C2F2B
split-complementary
#405C2B #2F2B5C #5C2B59
monochromatic
#0F150A #233218 #405C2B #5D863E #7AAF53

Accessibility & contrast

On white

7.54
#405C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#405C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C2B
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C2B#FFFFFF#000000##FFFFFF
##405C2B1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5627
Deuteranopia (green-blind)
#5B532E
Tritanopia (blue-blind)
#405951
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c2b;
/* rgb */ color: rgb(64, 92, 43);
/* oklch */ color: oklch(44.0% 0.082 133.3);
Tailwind
colors: {
  custom: {
    50: '#768a65',
    500: '#405c2b',
    950: '#000000',
  },
}
SCSS
$custom: #405c2b;
$custom-light: #768a65;
$custom-dark: #000000;
JSON
{
  "hex": "#405c2b",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 43
  },
  "hsl": {
    "h": 94.286,
    "s": 36.296,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43982,
    "c": 0.08153,
    "h": 133.3
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#405C2B
secondary
#76558E
accent
#5BCC9C
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090B06
muted
#7B7C7A

Preview Lab

Preview with #405C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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