#405C2E#405C2E

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

Color values

HEX#405C2E
RGBrgb(64, 92, 46)
HSLhsl(97, 33%, 27%)
HSVhsv(97, 50%, 36%)
CMYKcmyk(30.4%, 0%, 50%, 63.9%)
CIE-LABlab(35.87, -19.80, 23.11)
CIE-LCHlch(35.87, 30.43, 130.59°)
OKLaboklab(44.03% -0.0545 0.0559)
OKLCHoklch(44.03% 0.078 134.3)
XYZxyz(6.4345, 8.9413, 3.9711)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C2E #4A2E5C
analogous
#575C2E #405C2E #2E5C33
triadic
#405C2E #2E405C #5C2E40
tetradic
#405C2E #2E575C #4A2E5C #5C332E
square
#405C2E #2E575C #4A2E5C #5C332E
split-complementary
#405C2E #332E5C #5C2E57
monochromatic
#0E140A #24331A #405C2E #5C8542 #79AC59

Accessibility & contrast

On white

7.53
#405C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#405C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C2E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C2E#FFFFFF#000000##FFFFFF
##405C2E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405c2e;
/* rgb */ color: rgb(64, 92, 46);
/* oklch */ color: oklch(44.0% 0.078 134.3);
Tailwind
colors: {
  custom: {
    50: '#768a68',
    500: '#405c2e',
    950: '#000000',
  },
}
SCSS
$custom: #405c2e;
$custom-light: #768a68;
$custom-dark: #000000;
JSON
{
  "hex": "#405c2e",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 46
  },
  "hsl": {
    "h": 96.522,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.07811,
    "h": 134.3
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#405C2E
secondary
#79588E
accent
#5EC9A0
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080B06
muted
#7B7C7A

Preview Lab

Preview with #405C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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