#228F52#228F52

#228F52 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.134 H 153.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#228F52
RGBrgb(34, 143, 82)
HSLhsl(146, 62%, 35%)
HSVhsv(146, 76%, 56%)
CMYKcmyk(76.2%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.50, -44.40, 24.05)
CIE-LCHlch(52.50, 50.50, 151.55°)
OKLaboklab(57.54% -0.1196 0.0596)
OKLCHoklch(57.54% 0.134 153.5)
XYZxyz(12.0040, 20.5928, 11.3232)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F52 #8F225F
analogous
#298F22 #228F52 #228F89
triadic
#228F52 #52228F #8F5222
tetradic
#228F52 #22298F #8F225F #8F8922
square
#228F52 #22298F #8F225F #8F8922
split-complementary
#228F52 #89228F #8F2229
monochromatic
#0A2C19 #165E36 #228F52 #2EC06E #55D78E

Accessibility & contrast

On white

4.10
#228F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#228F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F52
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F52#FFFFFF#000000##000000
##228F521.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#827A56
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f52;
/* rgb */ color: rgb(34, 143, 82);
/* oklch */ color: oklch(57.5% 0.134 153.5);
Tailwind
colors: {
  custom: {
    50: '#6eb183',
    500: '#228f52',
    950: '#000000',
  },
}
SCSS
$custom: #228f52;
$custom-light: #6eb183;
$custom-dark: #000000;
JSON
{
  "hex": "#228f52",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 146.422,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.13364,
    "h": 153.5
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#228F52
secondary
#BA528D
accent
#439EE5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228F52

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

Preview Lab → · Contrast checker → · Palette generator →

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