#229D21#229D21

#229D21 is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.8% C 0.190 H 142.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#229D21
RGBrgb(34, 157, 33)
HSLhsl(120, 65%, 37%)
HSVhsv(120, 79%, 62%)
CMYKcmyk(78.3%, 0%, 79%, 38.4%)
CIE-LABlab(56.65, -55.58, 51.34)
CIE-LCHlch(56.65, 75.67, 137.27°)
OKLaboklab(60.81% -0.1509 0.1149)
OKLCHoklch(60.81% 0.19 142.7)
XYZxyz(12.9904, 24.5623, 5.4949)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229D21 #9C219D
analogous
#609D21 #229D21 #219D5E
triadic
#229D21 #21229D #9D2122
tetradic
#229D21 #21609D #9C219D #9D5E21
square
#229D21 #21609D #9C219D #9D5E21
split-complementary
#229D21 #5E219D #9D2160
monochromatic
#0C380C #176A16 #229D21 #2DD02C #5DDD5C

Accessibility & contrast

On white

3.55
#229D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#229D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229D21
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229D21#FFFFFF#000000##000000
##229D211.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #229d21;
/* rgb */ color: rgb(34, 157, 33);
/* oklch */ color: oklch(60.8% 0.190 142.7);
Tailwind
colors: {
  custom: {
    50: '#74bb66',
    500: '#229d21',
    950: '#000000',
  },
}
SCSS
$custom: #229d21;
$custom-light: #74bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#229d21",
  "rgb": {
    "r": 34,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 119.516,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.18966,
    "h": 142.7
  },
  "luminance": 0.24564
}

Semantic roles & 50–950 ramp

primary
#229D21
secondary
#C059C1
accent
#40E8E7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229D21

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

Preview Lab → · Contrast checker → · Palette generator →

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