#229A31#229A31

#229A31 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.176 H 144.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#229A31
RGBrgb(34, 154, 49)
HSLhsl(128, 64%, 37%)
HSVhsv(128, 78%, 60%)
CMYKcmyk(77.9%, 0%, 68.2%, 39.6%)
CIE-LABlab(55.76, -53.22, 44.37)
CIE-LCHlch(55.76, 69.29, 140.18°)
OKLaboklab(60.11% -0.1438 0.1024)
OKLCHoklch(60.11% 0.176 144.6)
XYZxyz(12.7688, 23.6715, 6.8012)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229A31 #9A228B
analogous
#4F9A22 #229A31 #229A6D
triadic
#229A31 #31229A #9A3122
tetradic
#229A31 #224F9A #9A228B #9A6D22
square
#229A31 #224F9A #9A228B #9A6D22
split-complementary
#229A31 #6D229A #9A224F
monochromatic
#0C3611 #176821 #229A31 #2DCC41 #5BDB6B

Accessibility & contrast

On white

3.66
#229A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#229A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229A31
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229A31#FFFFFF#000000##000000
##229A311.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B23
Deuteranopia (green-blind)
#90823B
Tritanopia (blue-blind)
#009685
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #229a31;
/* rgb */ color: rgb(34, 154, 49);
/* oklch */ color: oklch(60.1% 0.176 144.6);
Tailwind
colors: {
  custom: {
    50: '#72b96e',
    500: '#229a31',
    950: '#000000',
  },
}
SCSS
$custom: #229a31;
$custom-light: #72b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#229a31",
  "rgb": {
    "r": 34,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 127.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.17649,
    "h": 144.6
  },
  "luminance": 0.23673
}

Semantic roles & 50–950 ramp

primary
#229A31
secondary
#BF58B2
accent
#41D2E7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #229A31

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

Preview Lab → · Contrast checker → · Palette generator →

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