#229C22#229C22

#229C22 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.5% C 0.188 H 142.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#229C22
RGBrgb(34, 156, 34)
HSLhsl(120, 64%, 37%)
HSVhsv(120, 78%, 61%)
CMYKcmyk(78.2%, 0%, 78.2%, 38.8%)
CIE-LABlab(56.32, -55.19, 50.69)
CIE-LCHlch(56.32, 74.94, 137.43°)
OKLaboklab(60.54% -0.1498 0.1137)
OKLCHoklch(60.54% 0.188 142.8)
XYZxyz(12.8361, 24.2310, 5.5136)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229C22 #9C229C
analogous
#5F9C22 #229C22 #229C5F
triadic
#229C22 #22229C #9C2222
tetradic
#229C22 #225F9C #9C229C #9C5F22
square
#229C22 #225F9C #9C229C #9C5F22
split-complementary
#229C22 #5F229C #9C225F
monochromatic
#0C380C #176A17 #229C22 #2DCE2D #5DDC5D

Accessibility & contrast

On white

3.59
#229C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#229C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229C22
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229C22#FFFFFF#000000##000000
##229C221.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D03
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #229c22;
/* rgb */ color: rgb(34, 156, 34);
/* oklch */ color: oklch(60.5% 0.188 142.8);
Tailwind
colors: {
  custom: {
    50: '#74ba67',
    500: '#229c22',
    950: '#000000',
  },
}
SCSS
$custom: #229c22;
$custom-light: #74ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#229c22",
  "rgb": {
    "r": 34,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.18804,
    "h": 142.8
  },
  "luminance": 0.24233
}

Semantic roles & 50–950 ramp

primary
#229C22
secondary
#C05AC0
accent
#41E7E7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229C22

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

Preview Lab → · Contrast checker → · Palette generator →

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