#405C22#405C22

#405C22 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.9% C 0.091 H 130.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#405C22
RGBrgb(64, 92, 34)
HSLhsl(89, 46%, 25%)
HSVhsv(89, 63%, 36%)
CMYKcmyk(30.4%, 0%, 63%, 63.9%)
CIE-LABlab(35.71, -21.30, 29.47)
CIE-LCHlch(35.71, 36.36, 125.86°)
OKLaboklab(43.85% -0.0596 0.0688)
OKLCHoklch(43.85% 0.091 130.9)
XYZxyz(6.2302, 8.8596, 2.8949)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C22 #3E225C
analogous
#5C5B22 #405C22 #235C22
triadic
#405C22 #22405C #5C2240
tetradic
#405C22 #225C5B #3E225C #5C2223
square
#405C22 #225C5B #3E225C #5C2223
split-complementary
#405C22 #22235C #5B225C
monochromatic
#101608 #212F11 #405C22 #5F8933 #7EB543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405C22#FFFFFF#000000##FFFFFF
##405C221.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)
#60551C
Deuteranopia (green-blind)
#5C5326
Tritanopia (blue-blind)
#41584F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c22;
/* rgb */ color: rgb(64, 92, 34);
/* oklch */ color: oklch(43.9% 0.091 130.9);
Tailwind
colors: {
  custom: {
    50: '#778a5f',
    500: '#405c22',
    950: '#000000',
  },
}
SCSS
$custom: #405c22;
$custom-light: #778a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#405c22",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 88.966,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43852,
    "c": 0.09102,
    "h": 130.9
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#405C22
secondary
#6C4A90
accent
#52D692
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B05
muted
#7B7C79

Preview Lab

Preview with #405C22

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

Preview Lab → · Contrast checker → · Palette generator →

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