#229E52#229E52

#229E52 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.6% C 0.154 H 151.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#229E52
RGBrgb(34, 158, 82)
HSLhsl(143, 65%, 38%)
HSVhsv(143, 78%, 62%)
CMYKcmyk(78.5%, 0%, 48.1%, 38%)
CIE-LABlab(57.46, -50.06, 30.44)
CIE-LCHlch(57.46, 58.59, 148.69°)
OKLaboklab(61.65% -0.1345 0.0744)
OKLCHoklch(61.65% 0.154 151)
XYZxyz(14.4083, 25.4013, 12.1246)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229E52 #9E226E
analogous
#309E22 #229E52 #229E90
triadic
#229E52 #52229E #9E5222
tetradic
#229E52 #22309E #9E226E #9E9022
square
#229E52 #22309E #9E226E #9E9022
split-complementary
#229E52 #90229E #9E2230
monochromatic
#0C391E #176C38 #229E52 #2DD06C #5EDC8F

Accessibility & contrast

On white

3.45
#229E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#229E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229E52
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229E52#FFFFFF#000000##000000
##229E521.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F904C
Deuteranopia (green-blind)
#908657
Tritanopia (blue-blind)
#009B8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229e52;
/* rgb */ color: rgb(34, 158, 82);
/* oklch */ color: oklch(61.6% 0.154 151.0);
Tailwind
colors: {
  custom: {
    50: '#72bc84',
    500: '#229e52',
    950: '#000000',
  },
}
SCSS
$custom: #229e52;
$custom-light: #72bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#229e52",
  "rgb": {
    "r": 34,
    "g": 158,
    "b": 82
  },
  "hsl": {
    "h": 143.226,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61645,
    "c": 0.15371,
    "h": 151
  },
  "luminance": 0.25403
}

Semantic roles & 50–950 ramp

primary
#229E52
secondary
#C15B99
accent
#40A7E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #229E52

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

Preview Lab → · Contrast checker → · Palette generator →

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