#228C52#228C52

#228C52 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.130 H 154.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#228C52
RGBrgb(34, 140, 82)
HSLhsl(147, 61%, 34%)
HSVhsv(147, 76%, 55%)
CMYKcmyk(75.7%, 0%, 41.4%, 45.1%)
CIE-LABlab(51.50, -43.23, 22.74)
CIE-LCHlch(51.50, 48.84, 152.25°)
OKLaboklab(56.72% -0.1165 0.0566)
OKLCHoklch(56.72% 0.13 154.1)
XYZxyz(11.5597, 19.7041, 11.1751)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C52 #8C225C
analogous
#278C22 #228C52 #228C87
triadic
#228C52 #52228C #8C5222
tetradic
#228C52 #22278C #8C225C #8C8722
square
#228C52 #22278C #8C225C #8C8722
split-complementary
#228C52 #87228C #8C2227
monochromatic
#0A2A18 #165B35 #228C52 #2EBD6F #53D58E

Accessibility & contrast

On white

4.25
#228C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#228C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C52
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C52#FFFFFF#000000##000000
##228C521.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804E
Deuteranopia (green-blind)
#7F7756
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c52;
/* rgb */ color: rgb(34, 140, 82);
/* oklch */ color: oklch(56.7% 0.130 154.1);
Tailwind
colors: {
  custom: {
    50: '#6eae83',
    500: '#228c52',
    950: '#000000',
  },
}
SCSS
$custom: #228c52;
$custom-light: #6eae83;
$custom-dark: #000000;
JSON
{
  "hex": "#228c52",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 82
  },
  "hsl": {
    "h": 147.17,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56717,
    "c": 0.12952,
    "h": 154.1
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#228C52
secondary
#B9518A
accent
#449BE4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228C52

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

Preview Lab → · Contrast checker → · Palette generator →

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