#408E22#408E22

#408E22 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.161 H 138.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#408E22
RGBrgb(64, 142, 34)
HSLhsl(103, 61%, 35%)
HSVhsv(103, 76%, 56%)
CMYKcmyk(54.9%, 0%, 76.1%, 44.3%)
CIE-LABlab(52.45, -43.70, 47.16)
CIE-LCHlch(52.45, 64.30, 132.82°)
OKLaboklab(57.56% -0.1205 0.106)
OKLCHoklch(57.56% 0.161 138.7)
XYZxyz(12.0756, 20.5505, 4.8434)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E22 #70228E
analogous
#768E22 #408E22 #228E3A
triadic
#408E22 #22408E #8E2240
tetradic
#408E22 #22768E #70228E #8E3A22
square
#408E22 #22768E #70228E #8E3A22
split-complementary
#408E22 #3A228E #8E2276
monochromatic
#132B0A #2A5D16 #408E22 #56BF2E #78D654

Accessibility & contrast

On white

4.11
#408E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#408E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E22
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E22#FFFFFF#000000##000000
##408E221.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#887B2D
Tritanopia (blue-blind)
#398979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e22;
/* rgb */ color: rgb(64, 142, 34);
/* oklch */ color: oklch(57.6% 0.161 138.7);
Tailwind
colors: {
  custom: {
    50: '#7db065',
    500: '#408e22',
    950: '#000000',
  },
}
SCSS
$custom: #408e22;
$custom-light: #7db065;
$custom-dark: #000000;
JSON
{
  "hex": "#408e22",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 103.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.16054,
    "h": 138.7
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#408E22
secondary
#9D52BA
accent
#43E4B8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #408E22

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

Preview Lab → · Contrast checker → · Palette generator →

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