#229F22#229F22

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

Color values

HEX#229F22
RGBrgb(34, 159, 34)
HSLhsl(120, 65%, 38%)
HSVhsv(120, 79%, 62%)
CMYKcmyk(78.6%, 0%, 78.6%, 37.6%)
CIE-LABlab(57.32, -56.15, 51.67)
CIE-LCHlch(57.32, 76.30, 137.38°)
OKLaboklab(61.37% -0.1524 0.1157)
OKLCHoklch(61.37% 0.191 142.8)
XYZxyz(13.3457, 25.2503, 5.6835)
Luminance0.2525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F22 #9F229F
analogous
#609F22 #229F22 #229F60
triadic
#229F22 #22229F #9F2222
tetradic
#229F22 #22609F #9F229F #9F6022
square
#229F22 #22609F #9F229F #9F6022
split-complementary
#229F22 #60229F #9F2260
monochromatic
#0C3A0C #176D17 #229F22 #2DD12D #5FDD5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229F22#FFFFFF#000000##000000
##229F221.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)
#958631
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f22;
/* rgb */ color: rgb(34, 159, 34);
/* oklch */ color: oklch(61.4% 0.191 142.8);
Tailwind
colors: {
  custom: {
    50: '#74bd67',
    500: '#229f22',
    950: '#000000',
  },
}
SCSS
$custom: #229f22;
$custom-light: #74bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#229f22",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6137,
    "c": 0.19135,
    "h": 142.8
  },
  "luminance": 0.25252
}

Semantic roles & 50–950 ramp

primary
#229F22
secondary
#C15BC1
accent
#40E8E8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229F22

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

Preview Lab → · Contrast checker → · Palette generator →

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