#229836#229836

#229836 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.170 H 145.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#229836
RGBrgb(34, 152, 54)
HSLhsl(130, 63%, 36%)
HSVhsv(130, 78%, 60%)
CMYKcmyk(77.6%, 0%, 64.5%, 40.4%)
CIE-LABlab(55.14, -51.99, 41.48)
CIE-LCHlch(55.14, 66.51, 141.42°)
OKLaboklab(59.61% -0.1402 0.0968)
OKLCHoklch(59.61% 0.17 145.4)
XYZxyz(12.5529, 23.0614, 7.2790)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229836 #982284
analogous
#499822 #229836 #229871
triadic
#229836 #362298 #983622
tetradic
#229836 #224998 #982284 #987122
square
#229836 #224998 #982284 #987122
split-complementary
#229836 #712298 #982249
monochromatic
#0C3412 #176624 #229836 #2DCA48 #5ADA70

Accessibility & contrast

On white

3.74
#229836 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#229836 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229836
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229836#FFFFFF#000000##000000
##2298361.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #229836;
/* rgb */ color: rgb(34, 152, 54);
/* oklch */ color: oklch(59.6% 0.170 145.4);
Tailwind
colors: {
  custom: {
    50: '#72b771',
    500: '#229836',
    950: '#000000',
  },
}
SCSS
$custom: #229836;
$custom-light: #72b771;
$custom-dark: #000000;
JSON
{
  "hex": "#229836",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 54
  },
  "hsl": {
    "h": 130.169,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.17037,
    "h": 145.4
  },
  "luminance": 0.23063
}

Semantic roles & 50–950 ramp

primary
#229836
secondary
#BE57AD
accent
#41CAE6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #229836

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

Preview Lab → · Contrast checker → · Palette generator →

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