#229C21#229C21

#229C21 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.5% C 0.189 H 142.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#229C21
RGBrgb(34, 156, 33)
HSLhsl(120, 65%, 37%)
HSVhsv(120, 79%, 61%)
CMYKcmyk(78.2%, 0%, 78.8%, 38.8%)
CIE-LABlab(56.31, -55.26, 51.02)
CIE-LCHlch(56.31, 75.21, 137.28°)
OKLaboklab(60.53% -0.15 0.1142)
OKLCHoklch(60.53% 0.189 142.7)
XYZxyz(12.8219, 24.2253, 5.4388)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229C21 #9B219C
analogous
#609C21 #229C21 #219C5E
triadic
#229C21 #21229C #9C2122
tetradic
#229C21 #21609C #9B219C #9C5E21
square
#229C21 #21609C #9B219C #9C5E21
split-complementary
#229C21 #5E219C #9C2160
monochromatic
#0C370C #176916 #229C21 #2DCF2C #5CDC5B

Accessibility & contrast

On white

3.59
#229C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#229C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229C21
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229C21#FFFFFF#000000##000000
##229C211.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #229c21;
/* rgb */ color: rgb(34, 156, 33);
/* oklch */ color: oklch(60.5% 0.189 142.7);
Tailwind
colors: {
  custom: {
    50: '#74ba66',
    500: '#229c21',
    950: '#000000',
  },
}
SCSS
$custom: #229c21;
$custom-light: #74ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#229c21",
  "rgb": {
    "r": 34,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 119.512,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.18856,
    "h": 142.7
  },
  "luminance": 0.24227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #229C21

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

Preview Lab → · Contrast checker → · Palette generator →

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