#408F22#408F22

#408F22 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.162 H 138.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#408F22
RGBrgb(64, 143, 34)
HSLhsl(103, 62%, 35%)
HSVhsv(103, 76%, 56%)
CMYKcmyk(55.2%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.78, -44.09, 47.49)
CIE-LCHlch(52.78, 64.80, 132.88°)
OKLaboklab(57.84% -0.1216 0.1067)
OKLCHoklch(57.84% 0.162 138.7)
XYZxyz(12.2251, 20.8494, 4.8932)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F22 #71228F
analogous
#778F22 #408F22 #228F3A
triadic
#408F22 #22408F #8F2240
tetradic
#408F22 #22778F #71228F #8F3A22
square
#408F22 #22778F #71228F #8F3A22
split-complementary
#408F22 #3A228F #8F2277
monochromatic
#142C0A #2A5E16 #408F22 #56C02E #79D755

Accessibility & contrast

On white

4.06
#408F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#408F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F22
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F22#FFFFFF#000000##000000
##408F221.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820B
Deuteranopia (green-blind)
#897C2D
Tritanopia (blue-blind)
#398A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f22;
/* rgb */ color: rgb(64, 143, 34);
/* oklch */ color: oklch(57.8% 0.162 138.7);
Tailwind
colors: {
  custom: {
    50: '#7eb065',
    500: '#408f22',
    950: '#000000',
  },
}
SCSS
$custom: #408f22;
$custom-light: #7eb065;
$custom-dark: #000000;
JSON
{
  "hex": "#408f22",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 103.486,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57835,
    "c": 0.16179,
    "h": 138.7
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#408F22
secondary
#9E52BA
accent
#43E5B8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #408F22

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

Preview Lab → · Contrast checker → · Palette generator →

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