#229A40#229A40

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

Color values

HEX#229A40
RGBrgb(34, 154, 64)
HSLhsl(135, 64%, 37%)
HSVhsv(135, 78%, 60%)
CMYKcmyk(77.9%, 0%, 58.4%, 39.6%)
CIE-LABlab(55.91, -51.41, 37.66)
CIE-LCHlch(55.91, 63.72, 143.78°)
OKLaboklab(60.28% -0.1383 0.0894)
OKLCHoklch(60.28% 0.165 147.1)
XYZxyz(13.1397, 23.8199, 8.7547)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229A40 #9A227C
analogous
#409A22 #229A40 #229A7C
triadic
#229A40 #40229A #9A4022
tetradic
#229A40 #22409A #9A227C #9A7C22
square
#229A40 #22409A #9A227C #9A7C22
split-complementary
#229A40 #7C229A #9A2240
monochromatic
#0C3616 #17682B #229A40 #2DCC55 #5BDB7B

Accessibility & contrast

On white

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

On black

5.76
#229A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229A40
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229A40#FFFFFF#000000##000000
##229A401.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #229a40;
/* rgb */ color: rgb(34, 154, 64);
/* oklch */ color: oklch(60.3% 0.165 147.1);
Tailwind
colors: {
  custom: {
    50: '#72b977',
    500: '#229a40',
    950: '#000000',
  },
}
SCSS
$custom: #229a40;
$custom-light: #72b977;
$custom-dark: #000000;
JSON
{
  "hex": "#229a40",
  "rgb": {
    "r": 34,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 135,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.1647,
    "h": 147.1
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#229A40
secondary
#BF58A6
accent
#41BDE7
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229A40

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

Preview Lab → · Contrast checker → · Palette generator →

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