#229221#229221

#229221 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.7% C 0.177 H 142.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#229221
RGBrgb(34, 146, 33)
HSLhsl(119, 63%, 35%)
HSVhsv(119, 77%, 57%)
CMYKcmyk(76.7%, 0%, 77.4%, 42.7%)
CIE-LABlab(52.96, -52.01, 47.74)
CIE-LCHlch(52.96, 70.60, 137.45°)
OKLaboklab(57.74% -0.1412 0.1074)
OKLCHoklch(57.74% 0.177 142.8)
XYZxyz(11.2124, 21.0064, 4.9023)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229221 #912192
analogous
#5A9221 #229221 #219258
triadic
#229221 #212292 #922122
tetradic
#229221 #215A92 #912192 #925821
square
#229221 #215A92 #912192 #925821
split-complementary
#229221 #582192 #92215A
monochromatic
#0B2E0A #166016 #229221 #2EC42C #56D955

Accessibility & contrast

On white

4.04
#229221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#229221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229221
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229221#FFFFFF#000000##000000
##2292211.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958407
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #229221;
/* rgb */ color: rgb(34, 146, 33);
/* oklch */ color: oklch(57.7% 0.177 142.8);
Tailwind
colors: {
  custom: {
    50: '#71b365',
    500: '#229221',
    950: '#000000',
  },
}
SCSS
$custom: #229221;
$custom-light: #71b365;
$custom-dark: #000000;
JSON
{
  "hex": "#229221",
  "rgb": {
    "r": 34,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 119.469,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.1774,
    "h": 142.8
  },
  "luminance": 0.21008
}

Semantic roles & 50–950 ramp

primary
#229221
secondary
#BB53BC
accent
#42E6E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229221

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

Preview Lab → · Contrast checker → · Palette generator →

#229221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva