#228E51#228E51

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

Color values

HEX#228E51
RGBrgb(34, 142, 81)
HSLhsl(146, 61%, 35%)
HSVhsv(146, 76%, 56%)
CMYKcmyk(76.1%, 0%, 43%, 44.3%)
CIE-LABlab(52.15, -44.20, 24.14)
CIE-LCHlch(52.15, 50.37, 151.36°)
OKLaboklab(57.25% -0.119 0.0598)
OKLCHoklch(57.25% 0.133 153.3)
XYZxyz(11.8168, 20.2788, 11.0744)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E51 #8E225F
analogous
#298E22 #228E51 #228E87
triadic
#228E51 #51228E #8E5122
tetradic
#228E51 #22298E #8E225F #8E8722
square
#228E51 #22298E #8E225F #8E8722
split-complementary
#228E51 #87228E #8E2229
monochromatic
#0A2B19 #165D35 #228E51 #2EBF6D #54D68D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E51#FFFFFF#000000##000000
##228E511.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)
#8E824D
Deuteranopia (green-blind)
#817955
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e51;
/* rgb */ color: rgb(34, 142, 81);
/* oklch */ color: oklch(57.2% 0.133 153.3);
Tailwind
colors: {
  custom: {
    50: '#6eb082',
    500: '#228e51',
    950: '#000000',
  },
}
SCSS
$custom: #228e51;
$custom-light: #6eb082;
$custom-dark: #000000;
JSON
{
  "hex": "#228e51",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 81
  },
  "hsl": {
    "h": 146.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.13324,
    "h": 153.3
  },
  "luminance": 0.2028
}

Semantic roles & 50–950 ramp

primary
#228E51
secondary
#BA528D
accent
#439EE4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228E51

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

Preview Lab → · Contrast checker → · Palette generator →

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