#408A22#408A22

#408A22 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.156 H 138.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#408A22
RGBrgb(64, 138, 34)
HSLhsl(103, 60%, 34%)
HSVhsv(103, 75%, 54%)
CMYKcmyk(53.6%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.13, -42.12, 45.84)
CIE-LCHlch(51.13, 62.25, 132.58°)
OKLaboklab(56.47% -0.1163 0.1033)
OKLCHoklch(56.47% 0.156 138.4)
XYZxyz(11.4911, 19.3816, 4.6485)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A22 #6C228A
analogous
#748A22 #408A22 #228A38
triadic
#408A22 #22408A #8A2240
tetradic
#408A22 #22748A #6C228A #8A3822
square
#408A22 #22748A #6C228A #8A3822
split-complementary
#408A22 #38228A #8A2274
monochromatic
#12280A #295916 #408A22 #57BB2E #78D452

Accessibility & contrast

On white

4.31
#408A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#408A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A22
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A22#FFFFFF#000000##000000
##408A221.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#3A8576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408a22;
/* rgb */ color: rgb(64, 138, 34);
/* oklch */ color: oklch(56.5% 0.156 138.4);
Tailwind
colors: {
  custom: {
    50: '#7dad64',
    500: '#408a22',
    950: '#000000',
  },
}
SCSS
$custom: #408a22;
$custom-light: #7dad64;
$custom-dark: #000000;
JSON
{
  "hex": "#408a22",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 102.692,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.15553,
    "h": 138.4
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

primary
#408A22
secondary
#9A50B8
accent
#44E4B6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408A22

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

Preview Lab → · Contrast checker → · Palette generator →

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