#229731#229731

#229731 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.173 H 144.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#229731
RGBrgb(34, 151, 49)
HSLhsl(128, 63%, 36%)
HSVhsv(128, 77%, 59%)
CMYKcmyk(77.5%, 0%, 67.5%, 40.8%)
CIE-LABlab(54.76, -52.21, 43.28)
CIE-LCHlch(54.76, 67.82, 140.35°)
OKLaboklab(59.27% -0.141 0.1001)
OKLCHoklch(59.27% 0.173 144.6)
XYZxyz(12.2798, 22.6936, 6.6383)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229731 #972288
analogous
#4E9722 #229731 #22976C
triadic
#229731 #312297 #973122
tetradic
#229731 #224E97 #972288 #976C22
square
#229731 #224E97 #972288 #976C22
split-complementary
#229731 #6C2297 #97224E
monochromatic
#0C3311 #176521 #229731 #2DC941 #5ADA6A

Accessibility & contrast

On white

3.79
#229731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#229731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229731
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229731#FFFFFF#000000##000000
##2297311.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#8D803A
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #229731;
/* rgb */ color: rgb(34, 151, 49);
/* oklch */ color: oklch(59.3% 0.173 144.6);
Tailwind
colors: {
  custom: {
    50: '#72b76e',
    500: '#229731',
    950: '#000000',
  },
}
SCSS
$custom: #229731;
$custom-light: #72b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#229731",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 127.692,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.17292,
    "h": 144.6
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #229731

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

Preview Lab → · Contrast checker → · Palette generator →

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