#229A42#229A42

#229A42 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.163 H 147.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#229A42
RGBrgb(34, 154, 66)
HSLhsl(136, 64%, 37%)
HSVhsv(136, 78%, 60%)
CMYKcmyk(77.9%, 0%, 57.1%, 39.6%)
CIE-LABlab(55.93, -51.13, 36.70)
CIE-LCHlch(55.93, 62.94, 144.33°)
OKLaboklab(60.31% -0.1375 0.0875)
OKLCHoklch(60.31% 0.163 147.5)
XYZxyz(13.1976, 23.8431, 9.0598)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229A42 #9A227A
analogous
#3E9A22 #229A42 #229A7E
triadic
#229A42 #42229A #9A4222
tetradic
#229A42 #223E9A #9A227A #9A7E22
square
#229A42 #223E9A #9A227A #9A7E22
split-complementary
#229A42 #7E229A #9A223E
monochromatic
#0C3617 #17682D #229A42 #2DCC57 #5BDB7D

Accessibility & contrast

On white

3.64
#229A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#229A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229A42
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229A42#FFFFFF#000000##000000
##229A421.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#8E8249
Tritanopia (blue-blind)
#009786
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #229a42;
/* rgb */ color: rgb(34, 154, 66);
/* oklch */ color: oklch(60.3% 0.163 147.5);
Tailwind
colors: {
  custom: {
    50: '#72b979',
    500: '#229a42',
    950: '#000000',
  },
}
SCSS
$custom: #229a42;
$custom-light: #72b979;
$custom-dark: #000000;
JSON
{
  "hex": "#229a42",
  "rgb": {
    "r": 34,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 136,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.16299,
    "h": 147.5
  },
  "luminance": 0.23845
}

Semantic roles & 50–950 ramp

primary
#229A42
secondary
#BF58A4
accent
#41BBE7
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229A42

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

Preview Lab → · Contrast checker → · Palette generator →

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