#228E52#228E52

#228E52 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.132 H 153.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#228E52
RGBrgb(34, 142, 82)
HSLhsl(147, 61%, 35%)
HSVhsv(147, 76%, 56%)
CMYKcmyk(76.1%, 0%, 42.3%, 44.3%)
CIE-LABlab(52.17, -44.01, 23.62)
CIE-LCHlch(52.17, 49.95, 151.78°)
OKLaboklab(57.27% -0.1186 0.0586)
OKLCHoklch(57.27% 0.132 153.7)
XYZxyz(11.8546, 20.2939, 11.2734)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E52 #8E225E
analogous
#288E22 #228E52 #228E88
triadic
#228E52 #52228E #8E5222
tetradic
#228E52 #22288E #8E225E #8E8822
square
#228E52 #22288E #8E225E #8E8822
split-complementary
#228E52 #88228E #8E2228
monochromatic
#0A2B19 #165D35 #228E52 #2EBF6F #54D68E

Accessibility & contrast

On white

4.15
#228E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#228E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E52
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E52#FFFFFF#000000##000000
##228E521.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e52;
/* rgb */ color: rgb(34, 142, 82);
/* oklch */ color: oklch(57.3% 0.132 153.7);
Tailwind
colors: {
  custom: {
    50: '#6eb083',
    500: '#228e52',
    950: '#000000',
  },
}
SCSS
$custom: #228e52;
$custom-light: #6eb083;
$custom-dark: #000000;
JSON
{
  "hex": "#228e52",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 82
  },
  "hsl": {
    "h": 146.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.13227,
    "h": 153.7
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#228E52
secondary
#BA528C
accent
#439DE4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228E52

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

Preview Lab → · Contrast checker → · Palette generator →

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