#229F21#229F21

#229F21 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.192 H 142.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#229F21
RGBrgb(34, 159, 33)
HSLhsl(120, 66%, 38%)
HSVhsv(120, 79%, 62%)
CMYKcmyk(78.6%, 0%, 79.2%, 37.6%)
CIE-LABlab(57.31, -56.22, 51.99)
CIE-LCHlch(57.31, 76.57, 137.24°)
OKLaboklab(61.36% -0.1526 0.1162)
OKLCHoklch(61.36% 0.192 142.7)
XYZxyz(13.3315, 25.2446, 5.6086)
Luminance0.2525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F21 #9E219F
analogous
#619F21 #229F21 #219F5F
triadic
#229F21 #21229F #9F2122
tetradic
#229F21 #21619F #9E219F #9F5F21
square
#229F21 #21619F #9E219F #9F5F21
split-complementary
#229F21 #5F219F #9F2161
monochromatic
#0C3A0C #176C16 #229F21 #2DD22C #5EDD5D

Accessibility & contrast

On white

3.47
#229F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#229F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F21
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F21#FFFFFF#000000##000000
##229F211.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f21;
/* rgb */ color: rgb(34, 159, 33);
/* oklch */ color: oklch(61.4% 0.192 142.7);
Tailwind
colors: {
  custom: {
    50: '#74bd67',
    500: '#229f21',
    950: '#000000',
  },
}
SCSS
$custom: #229f21;
$custom-light: #74bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#229f21",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 119.524,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.19185,
    "h": 142.7
  },
  "luminance": 0.25246
}

Semantic roles & 50–950 ramp

primary
#229F21
secondary
#C15AC2
accent
#3FE9E7
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229F21

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

Preview Lab → · Contrast checker → · Palette generator →

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