#405C2D#405C2D

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

Color values

HEX#405C2D
RGBrgb(64, 92, 45)
HSLhsl(96, 34%, 27%)
HSVhsv(96, 51%, 36%)
CMYKcmyk(30.4%, 0%, 51.1%, 63.9%)
CIE-LABlab(35.86, -19.94, 23.66)
CIE-LCHlch(35.86, 30.94, 130.13°)
OKLaboklab(44.02% -0.055 0.0571)
OKLCHoklch(44.02% 0.079 133.9)
XYZxyz(6.4150, 8.9335, 3.8685)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C2D #492D5C
analogous
#585C2D #405C2D #2D5C32
triadic
#405C2D #2D405C #5C2D40
tetradic
#405C2D #2D585C #492D5C #5C322D
square
#405C2D #2D585C #492D5C #5C322D
split-complementary
#405C2D #322D5C #5C2D58
monochromatic
#0E150A #233319 #405C2D #5D8541 #79AD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405C2D#FFFFFF#000000##FFFFFF
##405C2D1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405c2d;
/* rgb */ color: rgb(64, 92, 45);
/* oklch */ color: oklch(44.0% 0.079 133.9);
Tailwind
colors: {
  custom: {
    50: '#768a67',
    500: '#405c2d',
    950: '#000000',
  },
}
SCSS
$custom: #405c2d;
$custom-light: #768a67;
$custom-dark: #000000;
JSON
{
  "hex": "#405c2d",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 95.745,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.07925,
    "h": 133.9
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#405C2D
secondary
#78578E
accent
#5DCA9E
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080B06
muted
#7B7C7A

Preview Lab

Preview with #405C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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