#228D52#228D52

#228D52 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.131 H 153.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#228D52
RGBrgb(34, 141, 82)
HSLhsl(147, 61%, 34%)
HSVhsv(147, 76%, 55%)
CMYKcmyk(75.9%, 0%, 41.8%, 44.7%)
CIE-LABlab(51.83, -43.62, 23.18)
CIE-LCHlch(51.83, 49.40, 152.01°)
OKLaboklab(56.99% -0.1175 0.0576)
OKLCHoklch(56.99% 0.131 153.9)
XYZxyz(11.7065, 19.9977, 11.2240)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D52 #8D225D
analogous
#288D22 #228D52 #228D88
triadic
#228D52 #52228D #8D5222
tetradic
#228D52 #22288D #8D225D #8D8822
square
#228D52 #22288D #8D225D #8D8822
split-complementary
#228D52 #88228D #8D2228
monochromatic
#0A2A19 #165C35 #228D52 #2EBE6F #54D68E

Accessibility & contrast

On white

4.20
#228D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#228D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D52
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D52#FFFFFF#000000##000000
##228D521.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#807856
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228d52;
/* rgb */ color: rgb(34, 141, 82);
/* oklch */ color: oklch(57.0% 0.131 153.9);
Tailwind
colors: {
  custom: {
    50: '#6eaf83',
    500: '#228d52',
    950: '#000000',
  },
}
SCSS
$custom: #228d52;
$custom-light: #6eaf83;
$custom-dark: #000000;
JSON
{
  "hex": "#228d52",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 146.916,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.13089,
    "h": 153.9
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#228D52
secondary
#B9518B
accent
#449CE4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D52

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

Preview Lab → · Contrast checker → · Palette generator →

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