#229831#229831

#229831 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.174 H 144.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#229831
RGBrgb(34, 152, 49)
HSLhsl(128, 63%, 36%)
HSVhsv(128, 78%, 60%)
CMYKcmyk(77.6%, 0%, 67.8%, 40.4%)
CIE-LABlab(55.09, -52.55, 43.64)
CIE-LCHlch(55.09, 68.31, 140.29°)
OKLaboklab(59.55% -0.1419 0.1008)
OKLCHoklch(59.55% 0.174 144.6)
XYZxyz(12.4414, 23.0168, 6.6921)
Luminance0.2302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229831 #982289
analogous
#4E9822 #229831 #22986C
triadic
#229831 #312298 #983122
tetradic
#229831 #224E98 #982289 #986C22
square
#229831 #224E98 #982289 #986C22
split-complementary
#229831 #6C2298 #98224E
monochromatic
#0C3411 #176621 #229831 #2DCA41 #5ADA6B

Accessibility & contrast

On white

3.75
#229831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#229831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229831
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229831#FFFFFF#000000##000000
##2298311.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8923
Deuteranopia (green-blind)
#8E803B
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #229831;
/* rgb */ color: rgb(34, 152, 49);
/* oklch */ color: oklch(59.6% 0.174 144.6);
Tailwind
colors: {
  custom: {
    50: '#72b76e',
    500: '#229831',
    950: '#000000',
  },
}
SCSS
$custom: #229831;
$custom-light: #72b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#229831",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 127.627,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.17412,
    "h": 144.6
  },
  "luminance": 0.23018
}

Semantic roles & 50–950 ramp

primary
#229831
secondary
#BE57B1
accent
#41D1E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #229831

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

Preview Lab → · Contrast checker → · Palette generator →

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