#228D57#228D57

#228D57 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.126 H 155.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228D57
RGBrgb(34, 141, 87)
HSLhsl(150, 61%, 34%)
HSVhsv(150, 76%, 55%)
CMYKcmyk(75.9%, 0%, 38.3%, 44.7%)
CIE-LABlab(51.92, -42.61, 20.53)
CIE-LCHlch(51.92, 47.30, 154.28°)
OKLaboklab(57.1% -0.1151 0.0514)
OKLCHoklch(57.1% 0.126 155.9)
XYZxyz(11.9037, 20.0766, 12.2628)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D57 #8D2258
analogous
#228D22 #228D57 #228D8D
triadic
#228D57 #57228D #8D5722
tetradic
#228D57 #22228D #8D2258 #8D8D22
square
#228D57 #22228D #8D2258 #8D8D22
split-complementary
#228D57 #8D228D #8D2222
monochromatic
#0A2A1A #165C39 #228D57 #2EBE75 #54D694

Accessibility & contrast

On white

4.19
#228D57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#228D57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D57
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D57#FFFFFF#000000##000000
##228D571.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228d57;
/* rgb */ color: rgb(34, 141, 87);
/* oklch */ color: oklch(57.1% 0.126 155.9);
Tailwind
colors: {
  custom: {
    50: '#6eaf87',
    500: '#228d57',
    950: '#000000',
  },
}
SCSS
$custom: #228d57;
$custom-light: #6eaf87;
$custom-dark: #000000;
JSON
{
  "hex": "#228d57",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 87
  },
  "hsl": {
    "h": 149.72,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.12607,
    "h": 155.9
  },
  "luminance": 0.20078
}

Semantic roles & 50–950 ramp

primary
#228D57
secondary
#B95186
accent
#4495E4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228D57

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

Preview Lab → · Contrast checker → · Palette generator →

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