#405E24#405E24

#405E24 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.4% C 0.092 H 132.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#405E24
RGBrgb(64, 94, 36)
HSLhsl(91, 45%, 25%)
HSVhsv(91, 62%, 37%)
CMYKcmyk(31.9%, 0%, 61.7%, 63.1%)
CIE-LABlab(36.41, -22.11, 29.23)
CIE-LCHlch(36.41, 36.65, 127.11°)
OKLaboklab(44.43% -0.0617 0.0685)
OKLCHoklch(44.43% 0.092 132)
XYZxyz(6.4354, 9.2226, 3.1098)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E24 #42245E
analogous
#5D5E24 #405E24 #245E25
triadic
#405E24 #24405E #5E2440
tetradic
#405E24 #245D5E #42245E #5E2524
square
#405E24 #245D5E #42245E #5E2524
split-complementary
#405E24 #25245E #5E245D
monochromatic
#0F1608 #223213 #405E24 #5E8A35 #7CB746

Accessibility & contrast

On white

7.38
#405E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#405E24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E24
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E24#FFFFFF#000000##FFFFFF
##405E241.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571E
Deuteranopia (green-blind)
#5E5528
Tritanopia (blue-blind)
#415A51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405e24;
/* rgb */ color: rgb(64, 94, 36);
/* oklch */ color: oklch(44.4% 0.092 132.0);
Tailwind
colors: {
  custom: {
    50: '#778c61',
    500: '#405e24',
    950: '#000000',
  },
}
SCSS
$custom: #405e24;
$custom-light: #778c61;
$custom-dark: #000000;
JSON
{
  "hex": "#405e24",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 36
  },
  "hsl": {
    "h": 91.034,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.09217,
    "h": 132
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#405E24
secondary
#704C92
accent
#53D496
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #405E24

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

Preview Lab → · Contrast checker → · Palette generator →

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