#408822#408822

#408822 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.153 H 138.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#408822
RGBrgb(64, 136, 34)
HSLhsl(102, 60%, 33%)
HSVhsv(102, 75%, 53%)
CMYKcmyk(52.9%, 0%, 75%, 46.7%)
CIE-LABlab(50.47, -41.32, 45.18)
CIE-LCHlch(50.47, 61.22, 132.45°)
OKLaboklab(55.93% -0.1141 0.1019)
OKLCHoklch(55.93% 0.153 138.2)
XYZxyz(11.2068, 18.8130, 4.5538)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408822 #6A2288
analogous
#738822 #408822 #228837
triadic
#408822 #224088 #882240
tetradic
#408822 #227388 #6A2288 #883722
square
#408822 #227388 #6A2288 #883722
split-complementary
#408822 #372288 #882273
monochromatic
#12260A #295716 #408822 #57B92E #77D351

Accessibility & contrast

On white

4.41
#408822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#408822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408822
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408822#FFFFFF#000000##000000
##4088221.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#3A8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #408822;
/* rgb */ color: rgb(64, 136, 34);
/* oklch */ color: oklch(55.9% 0.153 138.2);
Tailwind
colors: {
  custom: {
    50: '#7cab64',
    500: '#408822',
    950: '#000000',
  },
}
SCSS
$custom: #408822;
$custom-light: #7cab64;
$custom-dark: #000000;
JSON
{
  "hex": "#408822",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 102.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55926,
    "c": 0.15298,
    "h": 138.2
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#408822
secondary
#984FB7
accent
#45E3B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #408822

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

Preview Lab → · Contrast checker → · Palette generator →

#408822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva