#405E22#405E22

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

Color values

HEX#405E22
RGBrgb(64, 94, 34)
HSLhsl(90, 47%, 25%)
HSVhsv(90, 64%, 37%)
CMYKcmyk(31.9%, 0%, 63.8%, 63.1%)
CIE-LABlab(36.39, -22.33, 30.23)
CIE-LCHlch(36.39, 37.58, 126.45°)
OKLaboklab(44.4% -0.0625 0.0704)
OKLCHoklch(44.4% 0.094 131.6)
XYZxyz(6.4057, 9.2107, 2.9534)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E22 #40225E
analogous
#5E5E22 #405E22 #225E22
triadic
#405E22 #22405E #5E2240
tetradic
#405E22 #225E5E #40225E #5E2222
square
#405E22 #225E5E #40225E #5E2222
split-complementary
#405E22 #22225E #5E225E
monochromatic
#0F1608 #213112 #405E22 #5F8B32 #7DB843

Accessibility & contrast

On white

7.39
#405E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405E22
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E22#FFFFFF#000000##FFFFFF
##405E221.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405e22;
/* rgb */ color: rgb(64, 94, 34);
/* oklch */ color: oklch(44.4% 0.094 131.6);
Tailwind
colors: {
  custom: {
    50: '#778c60',
    500: '#405e22',
    950: '#000000',
  },
}
SCSS
$custom: #405e22;
$custom-light: #778c60;
$custom-dark: #000000;
JSON
{
  "hex": "#405e22",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.444,
    "c": 0.09412,
    "h": 131.6
  },
  "luminance": 0.09211
}

Semantic roles & 50–950 ramp

primary
#405E22
secondary
#6E4A92
accent
#51D794
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #405E22

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

Preview Lab → · Contrast checker → · Palette generator →

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