#229E42#229E42

#229E42 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.168 H 147.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#229E42
RGBrgb(34, 158, 66)
HSLhsl(135, 65%, 38%)
HSVhsv(135, 78%, 62%)
CMYKcmyk(78.5%, 0%, 58.2%, 38%)
CIE-LABlab(57.26, -52.53, 38.28)
CIE-LCHlch(57.26, 64.99, 143.92°)
OKLaboklab(61.41% -0.1413 0.0909)
OKLCHoklch(61.41% 0.168 147.2)
XYZxyz(13.8688, 25.1855, 9.2836)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229E42 #9E227E
analogous
#409E22 #229E42 #229E80
triadic
#229E42 #42229E #9E4222
tetradic
#229E42 #22409E #9E227E #9E8022
square
#229E42 #22409E #9E227E #9E8022
split-complementary
#229E42 #80229E #9E2240
monochromatic
#0C3918 #176C2D #229E42 #2DD057 #5EDC7F

Accessibility & contrast

On white

3.48
#229E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#229E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229E42
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229E42#FFFFFF#000000##000000
##229E421.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F39
Deuteranopia (green-blind)
#928649
Tritanopia (blue-blind)
#009A8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #229e42;
/* rgb */ color: rgb(34, 158, 66);
/* oklch */ color: oklch(61.4% 0.168 147.2);
Tailwind
colors: {
  custom: {
    50: '#73bc79',
    500: '#229e42',
    950: '#000000',
  },
}
SCSS
$custom: #229e42;
$custom-light: #73bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#229e42",
  "rgb": {
    "r": 34,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 135.484,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.16802,
    "h": 147.2
  },
  "luminance": 0.25187
}

Semantic roles & 50–950 ramp

primary
#229E42
secondary
#C15BA7
accent
#40BCE8
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229E42

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

Preview Lab → · Contrast checker → · Palette generator →

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