#229222#229222

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

Color values

HEX#229222
RGBrgb(34, 146, 34)
HSLhsl(120, 62%, 35%)
HSVhsv(120, 77%, 57%)
CMYKcmyk(76.7%, 0%, 76.7%, 42.7%)
CIE-LABlab(52.96, -51.93, 47.39)
CIE-LCHlch(52.96, 70.30, 137.62°)
OKLaboklab(57.75% -0.141 0.1068)
OKLCHoklch(57.75% 0.177 142.9)
XYZxyz(11.2266, 21.0120, 4.9771)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229222 #922292
analogous
#5A9222 #229222 #22925A
triadic
#229222 #222292 #922222
tetradic
#229222 #225A92 #922292 #925A22
square
#229222 #225A92 #922292 #925A22
split-complementary
#229222 #5A2292 #92225A
monochromatic
#0B2F0B #166016 #229222 #2EC42E #57D857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229222#FFFFFF#000000##000000
##2292221.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)
#95840A
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #229222;
/* rgb */ color: rgb(34, 146, 34);
/* oklch */ color: oklch(57.7% 0.177 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b365',
    500: '#229222',
    950: '#000000',
  },
}
SCSS
$custom: #229222;
$custom-light: #71b365;
$custom-dark: #000000;
JSON
{
  "hex": "#229222",
  "rgb": {
    "r": 34,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.17684,
    "h": 142.9
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

primary
#229222
secondary
#BC54BC
accent
#43E5E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229222

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

Preview Lab → · Contrast checker → · Palette generator →

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