#229E40#229E40

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

Color values

HEX#229E40
RGBrgb(34, 158, 64)
HSLhsl(135, 65%, 38%)
HSVhsv(135, 78%, 62%)
CMYKcmyk(78.5%, 0%, 59.5%, 38%)
CIE-LABlab(57.23, -52.80, 39.21)
CIE-LCHlch(57.23, 65.77, 143.40°)
OKLaboklab(61.38% -0.1421 0.0928)
OKLCHoklch(61.38% 0.17 146.8)
XYZxyz(13.8109, 25.1623, 8.9784)
Luminance0.2516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229E40 #9E2280
analogous
#429E22 #229E40 #229E7E
triadic
#229E40 #40229E #9E4022
tetradic
#229E40 #22429E #9E2280 #9E7E22
square
#229E40 #22429E #9E2280 #9E7E22
split-complementary
#229E40 #7E229E #9E2242
monochromatic
#0C3917 #176C2C #229E40 #2DD054 #5EDC7D

Accessibility & contrast

On white

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

On black

6.03
#229E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229E40
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229E40#FFFFFF#000000##000000
##229E401.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F36
Deuteranopia (green-blind)
#928648
Tritanopia (blue-blind)
#009A89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #229e40;
/* rgb */ color: rgb(34, 158, 64);
/* oklch */ color: oklch(61.4% 0.170 146.8);
Tailwind
colors: {
  custom: {
    50: '#73bc78',
    500: '#229e40',
    950: '#000000',
  },
}
SCSS
$custom: #229e40;
$custom-light: #73bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#229e40",
  "rgb": {
    "r": 34,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 134.516,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61379,
    "c": 0.1697,
    "h": 146.8
  },
  "luminance": 0.25164
}

Semantic roles & 50–950 ramp

primary
#229E40
secondary
#C15BA8
accent
#40BFE8
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229E40

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

Preview Lab → · Contrast checker → · Palette generator →

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