#229822#229822

#229822 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.184 H 142.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#229822
RGBrgb(34, 152, 34)
HSLhsl(120, 63%, 36%)
HSVhsv(120, 78%, 60%)
CMYKcmyk(77.6%, 0%, 77.6%, 40.4%)
CIE-LABlab(54.98, -53.90, 49.38)
CIE-LCHlch(54.98, 73.10, 137.50°)
OKLaboklab(59.43% -0.1463 0.1109)
OKLCHoklch(59.43% 0.184 142.8)
XYZxyz(12.1759, 22.9106, 5.2936)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229822 #982298
analogous
#5D9822 #229822 #22985D
triadic
#229822 #222298 #982222
tetradic
#229822 #225D98 #982298 #985D22
square
#229822 #225D98 #982298 #985D22
split-complementary
#229822 #5D2298 #98225D
monochromatic
#0C340C #176617 #229822 #2DCA2D #5ADA5A

Accessibility & contrast

On white

3.76
#229822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#229822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229822
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229822#FFFFFF#000000##000000
##2298221.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8905
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #229822;
/* rgb */ color: rgb(34, 152, 34);
/* oklch */ color: oklch(59.4% 0.184 142.8);
Tailwind
colors: {
  custom: {
    50: '#73b766',
    500: '#229822',
    950: '#000000',
  },
}
SCSS
$custom: #229822;
$custom-light: #73b766;
$custom-dark: #000000;
JSON
{
  "hex": "#229822",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59426,
    "c": 0.18361,
    "h": 142.8
  },
  "luminance": 0.22912
}

Semantic roles & 50–950 ramp

primary
#229822
secondary
#BE57BE
accent
#41E6E6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229822

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

Preview Lab → · Contrast checker → · Palette generator →

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