#229D42#229D42

#229D42 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.167 H 147.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#229D42
RGBrgb(34, 157, 66)
HSLhsl(136, 64%, 37%)
HSVhsv(136, 78%, 62%)
CMYKcmyk(78.3%, 0%, 58%, 38.4%)
CIE-LABlab(56.92, -52.18, 37.88)
CIE-LCHlch(56.92, 64.48, 144.02°)
OKLaboklab(61.13% -0.1403 0.0901)
OKLCHoklch(61.13% 0.167 147.3)
XYZxyz(13.6990, 24.8457, 9.2269)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229D42 #9D227D
analogous
#3F9D22 #229D42 #229D80
triadic
#229D42 #42229D #9D4222
tetradic
#229D42 #223F9D #9D227D #9D8022
square
#229D42 #223F9D #9D227D #9D8022
split-complementary
#229D42 #80229D #9D223F
monochromatic
#0C3818 #176B2D #229D42 #2DCF57 #5DDC7E

Accessibility & contrast

On white

3.52
#229D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#229D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229D42
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229D42#FFFFFF#000000##000000
##229D421.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E39
Deuteranopia (green-blind)
#918549
Tritanopia (blue-blind)
#009989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #229d42;
/* rgb */ color: rgb(34, 157, 66);
/* oklch */ color: oklch(61.1% 0.167 147.3);
Tailwind
colors: {
  custom: {
    50: '#72bb79',
    500: '#229d42',
    950: '#000000',
  },
}
SCSS
$custom: #229d42;
$custom-light: #72bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#229d42",
  "rgb": {
    "r": 34,
    "g": 157,
    "b": 66
  },
  "hsl": {
    "h": 135.61,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6113,
    "c": 0.16677,
    "h": 147.3
  },
  "luminance": 0.24847
}

Semantic roles & 50–950 ramp

primary
#229D42
secondary
#C15AA6
accent
#40BCE7
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229D42

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

Preview Lab → · Contrast checker → · Palette generator →

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