#229D40#229D40

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

Color values

HEX#229D40
RGBrgb(34, 157, 64)
HSLhsl(135, 64%, 37%)
HSVhsv(135, 78%, 62%)
CMYKcmyk(78.3%, 0%, 59.2%, 38.4%)
CIE-LABlab(56.90, -52.45, 38.83)
CIE-LCHlch(56.90, 65.26, 143.49°)
OKLaboklab(61.1% -0.1411 0.092)
OKLCHoklch(61.1% 0.168 146.9)
XYZxyz(13.6410, 24.8226, 8.9218)
Luminance0.2482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229D40 #9D227F
analogous
#429D22 #229D40 #229D7D
triadic
#229D40 #40229D #9D4022
tetradic
#229D40 #22429D #9D227F #9D7D22
square
#229D40 #22429D #9D227F #9D7D22
split-complementary
#229D40 #7D229D #9D2242
monochromatic
#0C3817 #176B2B #229D40 #2DCF55 #5DDC7C

Accessibility & contrast

On white

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

On black

5.96
#229D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229D40
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229D40#FFFFFF#000000##000000
##229D401.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #229d40;
/* rgb */ color: rgb(34, 157, 64);
/* oklch */ color: oklch(61.1% 0.168 146.9);
Tailwind
colors: {
  custom: {
    50: '#72bb78',
    500: '#229d40',
    950: '#000000',
  },
}
SCSS
$custom: #229d40;
$custom-light: #72bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#229d40",
  "rgb": {
    "r": 34,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 134.634,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.16846,
    "h": 146.9
  },
  "luminance": 0.24824
}

Semantic roles & 50–950 ramp

primary
#229D40
secondary
#C15AA8
accent
#40BFE7
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229D40

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

Preview Lab → · Contrast checker → · Palette generator →

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