#229722#229722

#229722 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.1% C 0.182 H 142.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#229722
RGBrgb(34, 151, 34)
HSLhsl(120, 63%, 36%)
HSVhsv(120, 77%, 59%)
CMYKcmyk(77.5%, 0%, 77.5%, 40.8%)
CIE-LABlab(54.64, -53.57, 49.05)
CIE-LCHlch(54.64, 72.64, 137.52°)
OKLaboklab(59.15% -0.1454 0.1103)
OKLCHoklch(59.15% 0.182 142.8)
XYZxyz(12.0143, 22.5874, 5.2397)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229722 #972297
analogous
#5D9722 #229722 #22975D
triadic
#229722 #222297 #972222
tetradic
#229722 #225D97 #972297 #975D22
square
#229722 #225D97 #972297 #975D22
split-complementary
#229722 #5D2297 #97225D
monochromatic
#0C330C #176517 #229722 #2DC92D #5ADA5A

Accessibility & contrast

On white

3.81
#229722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#229722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229722
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229722#FFFFFF#000000##000000
##2297221.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8806
Deuteranopia (green-blind)
#8E7F2F
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #229722;
/* rgb */ color: rgb(34, 151, 34);
/* oklch */ color: oklch(59.1% 0.182 142.8);
Tailwind
colors: {
  custom: {
    50: '#72b766',
    500: '#229722',
    950: '#000000',
  },
}
SCSS
$custom: #229722;
$custom-light: #72b766;
$custom-dark: #000000;
JSON
{
  "hex": "#229722",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59147,
    "c": 0.18248,
    "h": 142.8
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#229722
secondary
#BE57BE
accent
#42E6E6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229722

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

Preview Lab → · Contrast checker → · Palette generator →

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