#229A22#229A22

#229A22 is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.0% C 0.186 H 142.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#229A22
RGBrgb(34, 154, 34)
HSLhsl(120, 64%, 37%)
HSVhsv(120, 78%, 60%)
CMYKcmyk(77.9%, 0%, 77.9%, 39.6%)
CIE-LABlab(55.65, -54.54, 50.04)
CIE-LCHlch(55.65, 74.02, 137.47°)
OKLaboklab(59.98% -0.148 0.1123)
OKLCHoklch(59.98% 0.186 142.8)
XYZxyz(12.5032, 23.5653, 5.4027)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229A22 #9A229A
analogous
#5E9A22 #229A22 #229A5E
triadic
#229A22 #22229A #9A2222
tetradic
#229A22 #225E9A #9A229A #9A5E22
square
#229A22 #225E9A #9A229A #9A5E22
split-complementary
#229A22 #5E229A #9A225E
monochromatic
#0C360C #176817 #229A22 #2DCC2D #5BDB5B

Accessibility & contrast

On white

3.68
#229A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#229A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229A22
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229A22#FFFFFF#000000##000000
##229A221.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B04
Deuteranopia (green-blind)
#908230
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #229a22;
/* rgb */ color: rgb(34, 154, 34);
/* oklch */ color: oklch(60.0% 0.186 142.8);
Tailwind
colors: {
  custom: {
    50: '#73b966',
    500: '#229a22',
    950: '#000000',
  },
}
SCSS
$custom: #229a22;
$custom-light: #73b966;
$custom-dark: #000000;
JSON
{
  "hex": "#229a22",
  "rgb": {
    "r": 34,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59983,
    "c": 0.18583,
    "h": 142.8
  },
  "luminance": 0.23567
}

Semantic roles & 50–950 ramp

primary
#229A22
secondary
#BF58BF
accent
#41E7E7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091206
muted
#7B817A

Preview Lab

Preview with #229A22

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

Preview Lab → · Contrast checker → · Palette generator →

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