#405C20#405C20

#405C20 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.8% C 0.093 H 130.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#405C20
RGBrgb(64, 92, 32)
HSLhsl(88, 48%, 24%)
HSVhsv(88, 65%, 36%)
CMYKcmyk(30.4%, 0%, 65.2%, 63.9%)
CIE-LABlab(35.69, -21.51, 30.46)
CIE-LCHlch(35.69, 37.29, 125.22°)
OKLaboklab(43.83% -0.0604 0.0707)
OKLCHoklch(43.83% 0.093 130.5)
XYZxyz(6.2022, 8.8484, 2.7474)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C20 #3C205C
analogous
#5C5A20 #405C20 #225C20
triadic
#405C20 #20405C #5C2040
tetradic
#405C20 #205C5A #3C205C #5C2022
square
#405C20 #205C5A #3C205C #5C2022
split-complementary
#405C20 #20225C #5A205C
monochromatic
#101708 #202F10 #405C20 #608930 #7FB740

Accessibility & contrast

On white

7.58
#405C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#405C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C20
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C20#FFFFFF#000000##FFFFFF
##405C201.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#5C5324
Tritanopia (blue-blind)
#41584F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c20;
/* rgb */ color: rgb(64, 92, 32);
/* oklch */ color: oklch(43.8% 0.093 130.5);
Tailwind
colors: {
  custom: {
    50: '#778a5e',
    500: '#405c20',
    950: '#000000',
  },
}
SCSS
$custom: #405c20;
$custom-light: #778a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#405c20",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 32
  },
  "hsl": {
    "h": 88,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43828,
    "c": 0.09295,
    "h": 130.5
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#405C20
secondary
#694790
accent
#50D88F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #405C20

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

Preview Lab → · Contrast checker → · Palette generator →

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