#229E21#229E21

#229E21 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.191 H 142.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#229E21
RGBrgb(34, 158, 33)
HSLhsl(120, 65%, 37%)
HSVhsv(120, 79%, 62%)
CMYKcmyk(78.5%, 0%, 79.1%, 38%)
CIE-LABlab(56.98, -55.90, 51.67)
CIE-LCHlch(56.98, 76.12, 137.25°)
OKLaboklab(61.09% -0.1518 0.1156)
OKLCHoklch(61.09% 0.191 142.7)
XYZxyz(13.1602, 24.9021, 5.5515)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229E21 #9D219E
analogous
#619E21 #229E21 #219E5F
triadic
#229E21 #21229E #9E2122
tetradic
#229E21 #21619E #9D219E #9E5F21
square
#229E21 #21619E #9D219E #9E5F21
split-complementary
#229E21 #5F219E #9E2161
monochromatic
#0C390C #176B16 #229E21 #2DD12C #5DDD5C

Accessibility & contrast

On white

3.51
#229E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#229E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229E21
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229E21#FFFFFF#000000##000000
##229E211.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #229e21;
/* rgb */ color: rgb(34, 158, 33);
/* oklch */ color: oklch(61.1% 0.191 142.7);
Tailwind
colors: {
  custom: {
    50: '#74bc66',
    500: '#229e21',
    950: '#000000',
  },
}
SCSS
$custom: #229e21;
$custom-light: #74bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#229e21",
  "rgb": {
    "r": 34,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 119.52,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61087,
    "c": 0.19075,
    "h": 142.7
  },
  "luminance": 0.24904
}

Semantic roles & 50–950 ramp

primary
#229E21
secondary
#C159C1
accent
#3FE8E7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229E21

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

Preview Lab → · Contrast checker → · Palette generator →

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