#28C571#28C571

#28C571 is a light, vivid green. Relative luminance 0.416; OKLCH L 72.7% C 0.174 H 153.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#28C571
RGBrgb(40, 197, 113)
HSLhsl(148, 66%, 46%)
HSVhsv(148, 80%, 77%)
CMYKcmyk(79.7%, 0%, 42.6%, 22.7%)
CIE-LABlab(70.58, -57.93, 31.22)
CIE-LCHlch(70.58, 65.81, 151.68°)
OKLaboklab(72.67% -0.1558 0.0773)
OKLCHoklch(72.67% 0.174 153.6)
XYZxyz(23.8197, 41.5729, 22.3886)
Luminance0.4158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C571 #C5287C
analogous
#2EC528 #28C571 #28C5C0
triadic
#28C571 #7128C5 #C57128
tetradic
#28C571 #282EC5 #C5287C #C5C028
square
#28C571 #282EC5 #C5287C #C5C028
split-complementary
#28C571 #C028C5 #C5282E
monochromatic
#135F37 #1E9254 #28C571 #4FDB90 #82E6B0

Accessibility & contrast

On white

2.25
#28C571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#28C571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C571
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C571#FFFFFF#000000##000000
##28C5711.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B46B
Deuteranopia (green-blind)
#B3A877
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #28c571;
/* rgb */ color: rgb(40, 197, 113);
/* oklch */ color: oklch(72.7% 0.174 153.6);
Tailwind
colors: {
  custom: {
    50: '#7cd89b',
    500: '#28c571',
    950: '#000000',
  },
}
SCSS
$custom: #28c571;
$custom-light: #7cd89b;
$custom-dark: #000000;
JSON
{
  "hex": "#28c571",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 147.898,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7267,
    "c": 0.1739,
    "h": 153.6
  },
  "luminance": 0.41576
}

Semantic roles & 50–950 ramp

primary
#28C571
secondary
#CE7AA7
accent
#3F9AE9
background
#F8FDF9
surface
#EFFAF2
border
#CAD3CC
text
#0B150E
muted
#7C837E

Preview Lab

Preview with #28C571

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

Preview Lab → · Contrast checker → · Palette generator →

#28C571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva