#229B31#229B31

#229B31 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.178 H 144.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#229B31
RGBrgb(34, 155, 49)
HSLhsl(127, 64%, 37%)
HSVhsv(127, 78%, 61%)
CMYKcmyk(78.1%, 0%, 68.4%, 39.2%)
CIE-LABlab(56.09, -53.55, 44.73)
CIE-LCHlch(56.09, 69.77, 140.13°)
OKLaboklab(60.38% -0.1447 0.1031)
OKLCHoklch(60.38% 0.178 144.5)
XYZxyz(12.9345, 24.0030, 6.8565)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229B31 #9B228C
analogous
#509B22 #229B31 #229B6E
triadic
#229B31 #31229B #9B3122
tetradic
#229B31 #22509B #9B228C #9B6E22
square
#229B31 #22509B #9B228C #9B6E22
split-complementary
#229B31 #6E229B #9B2250
monochromatic
#0C3711 #176921 #229B31 #2DCD41 #5CDB6C

Accessibility & contrast

On white

3.62
#229B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#229B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229B31
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229B31#FFFFFF#000000##000000
##229B311.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#90833B
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #229b31;
/* rgb */ color: rgb(34, 155, 49);
/* oklch */ color: oklch(60.4% 0.178 144.5);
Tailwind
colors: {
  custom: {
    50: '#73ba6e',
    500: '#229b31',
    950: '#000000',
  },
}
SCSS
$custom: #229b31;
$custom-light: #73ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#229b31",
  "rgb": {
    "r": 34,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 127.438,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.17767,
    "h": 144.5
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #229B31

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

Preview Lab → · Contrast checker → · Palette generator →

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