#229D31#229D31

#229D31 is a mid, vivid green. Relative luminance 0.247; OKLCH L 60.9% C 0.180 H 144.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#229D31
RGBrgb(34, 157, 49)
HSLhsl(127, 64%, 37%)
HSVhsv(127, 78%, 62%)
CMYKcmyk(78.3%, 0%, 68.8%, 38.4%)
CIE-LABlab(56.76, -54.22, 45.44)
CIE-LCHlch(56.76, 70.74, 140.03°)
OKLaboklab(60.94% -0.1465 0.1046)
OKLCHoklch(60.94% 0.18 144.5)
XYZxyz(13.2701, 24.6742, 6.9684)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229D31 #9D228E
analogous
#519D22 #229D31 #229D6E
triadic
#229D31 #31229D #9D3122
tetradic
#229D31 #22519D #9D228E #9D6E22
square
#229D31 #22519D #9D228E #9D6E22
split-complementary
#229D31 #6E229D #9D2251
monochromatic
#0C3812 #176B21 #229D31 #2DCF41 #5DDC6D

Accessibility & contrast

On white

3.54
#229D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#229D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229D31
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229D31#FFFFFF#000000##000000
##229D311.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E22
Deuteranopia (green-blind)
#92853B
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #229d31;
/* rgb */ color: rgb(34, 157, 49);
/* oklch */ color: oklch(60.9% 0.180 144.5);
Tailwind
colors: {
  custom: {
    50: '#73bb6f',
    500: '#229d31',
    950: '#000000',
  },
}
SCSS
$custom: #229d31;
$custom-light: #73bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#229d31",
  "rgb": {
    "r": 34,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 127.317,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.18001,
    "h": 144.5
  },
  "luminance": 0.24676
}

Semantic roles & 50–950 ramp

primary
#229D31
secondary
#C15AB4
accent
#40D3E7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091208
muted
#7B817B

Preview Lab

Preview with #229D31

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

Preview Lab → · Contrast checker → · Palette generator →

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