#228822#228822

#228822 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.165 H 142.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#228822
RGBrgb(34, 136, 34)
HSLhsl(120, 60%, 33%)
HSVhsv(120, 75%, 53%)
CMYKcmyk(75%, 0%, 75%, 46.7%)
CIE-LABlab(49.57, -48.56, 43.98)
CIE-LCHlch(49.57, 65.52, 137.83°)
OKLaboklab(54.93% -0.1318 0.0997)
OKLCHoklch(54.93% 0.165 142.9)
XYZxyz(9.7520, 18.0628, 4.4856)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228822 #882288
analogous
#558822 #228822 #228855
triadic
#228822 #222288 #882222
tetradic
#228822 #225588 #882288 #885522
square
#228822 #225588 #882288 #885522
split-complementary
#228822 #552288 #882255
monochromatic
#0A260A #165716 #228822 #2EB92E #51D351

Accessibility & contrast

On white

4.55
#228822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#228822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228822
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228822#FFFFFF#000000##000000
##2288221.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228822;
/* rgb */ color: rgb(34, 136, 34);
/* oklch */ color: oklch(54.9% 0.165 142.9);
Tailwind
colors: {
  custom: {
    50: '#6fac64',
    500: '#228822',
    950: '#000000',
  },
}
SCSS
$custom: #228822;
$custom-light: #6fac64;
$custom-dark: #000000;
JSON
{
  "hex": "#228822",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.16528,
    "h": 142.9
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#228822
secondary
#B74FB7
accent
#45E3E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228822

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

Preview Lab → · Contrast checker → · Palette generator →

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