#229A21#229A21

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

Color values

HEX#229A21
RGBrgb(34, 154, 33)
HSLhsl(120, 65%, 37%)
HSVhsv(120, 79%, 60%)
CMYKcmyk(77.9%, 0%, 78.6%, 39.6%)
CIE-LABlab(55.64, -54.62, 50.37)
CIE-LCHlch(55.64, 74.30, 137.31°)
OKLaboklab(59.98% -0.1483 0.1129)
OKLCHoklch(59.98% 0.186 142.7)
XYZxyz(12.4890, 23.5596, 5.3278)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229A21 #99219A
analogous
#5F9A21 #229A21 #219A5D
triadic
#229A21 #21229A #9A2122
tetradic
#229A21 #215F9A #99219A #9A5D21
square
#229A21 #215F9A #99219A #9A5D21
split-complementary
#229A21 #5D219A #9A215F
monochromatic
#0C350B #176816 #229A21 #2DCC2C #5BDC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229A21#FFFFFF#000000##000000
##229A211.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)
#9D8B01
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #229a21;
/* rgb */ color: rgb(34, 154, 33);
/* oklch */ color: oklch(60.0% 0.186 142.7);
Tailwind
colors: {
  custom: {
    50: '#73b966',
    500: '#229a21',
    950: '#000000',
  },
}
SCSS
$custom: #229a21;
$custom-light: #73b966;
$custom-dark: #000000;
JSON
{
  "hex": "#229a21",
  "rgb": {
    "r": 34,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 119.504,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59976,
    "c": 0.18635,
    "h": 142.7
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

primary
#229A21
secondary
#BF57C0
accent
#40E8E6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091206
muted
#7B817A

Preview Lab

Preview with #229A21

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

Preview Lab → · Contrast checker → · Palette generator →

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