#229122#229122

#229122 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.176 H 142.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#229122
RGBrgb(34, 145, 34)
HSLhsl(120, 62%, 35%)
HSVhsv(120, 77%, 57%)
CMYKcmyk(76.6%, 0%, 76.6%, 43.1%)
CIE-LABlab(52.63, -51.60, 47.05)
CIE-LCHlch(52.63, 69.83, 137.64°)
OKLaboklab(57.47% -0.1401 0.1061)
OKLCHoklch(57.47% 0.176 142.9)
XYZxyz(11.0731, 20.7051, 4.9260)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229122 #912291
analogous
#599122 #229122 #229159
triadic
#229122 #222291 #912222
tetradic
#229122 #225991 #912291 #915922
square
#229122 #225991 #912291 #915922
split-complementary
#229122 #592291 #912259
monochromatic
#0B2E0B #165F16 #229122 #2EC32E #56D756

Accessibility & contrast

On white

4.08
#229122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#229122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229122
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229122#FFFFFF#000000##000000
##2291221.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830A
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #229122;
/* rgb */ color: rgb(34, 145, 34);
/* oklch */ color: oklch(57.5% 0.176 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b265',
    500: '#229122',
    950: '#000000',
  },
}
SCSS
$custom: #229122;
$custom-light: #71b265;
$custom-dark: #000000;
JSON
{
  "hex": "#229122",
  "rgb": {
    "r": 34,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.1757,
    "h": 142.9
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #229122

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

Preview Lab → · Contrast checker → · Palette generator →

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