#408B22#408B22

#408B22 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.157 H 138.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#408B22
RGBrgb(64, 139, 34)
HSLhsl(103, 61%, 34%)
HSVhsv(103, 76%, 55%)
CMYKcmyk(54%, 0%, 75.5%, 45.5%)
CIE-LABlab(51.46, -42.52, 46.17)
CIE-LCHlch(51.46, 62.77, 132.64°)
OKLaboklab(56.75% -0.1174 0.104)
OKLCHoklch(56.75% 0.157 138.5)
XYZxyz(11.6353, 19.6698, 4.6966)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B22 #6D228B
analogous
#758B22 #408B22 #228B39
triadic
#408B22 #22408B #8B2240
tetradic
#408B22 #22758B #6D228B #8B3922
square
#408B22 #22758B #6D228B #8B3922
split-complementary
#408B22 #39228B #8B2275
monochromatic
#13290A #295A16 #408B22 #57BC2E #78D553

Accessibility & contrast

On white

4.26
#408B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#408B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B22
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B22#FFFFFF#000000##000000
##408B221.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F0E
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#3A8677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b22;
/* rgb */ color: rgb(64, 139, 34);
/* oklch */ color: oklch(56.7% 0.157 138.5);
Tailwind
colors: {
  custom: {
    50: '#7dad65',
    500: '#408b22',
    950: '#000000',
  },
}
SCSS
$custom: #408b22;
$custom-light: #7dad65;
$custom-dark: #000000;
JSON
{
  "hex": "#408b22",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 102.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56745,
    "c": 0.15678,
    "h": 138.5
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408B22

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

Preview Lab → · Contrast checker → · Palette generator →

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