#28E257#28E257

#28E257 is a light, highly saturated green. Relative luminance 0.555; OKLCH L 79.8% C 0.230 H 146.4°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#28E257
RGBrgb(40, 226, 87)
HSLhsl(135, 76%, 52%)
HSVhsv(135, 82%, 89%)
CMYKcmyk(82.3%, 0%, 61.5%, 11.4%)
CIE-LABlab(79.34, -71.33, 54.29)
CIE-LCHlch(79.34, 89.64, 142.73°)
OKLaboklab(79.84% -0.1918 0.1272)
OKLCHoklch(79.84% 0.23 146.4)
XYZxyz(29.7894, 55.5282, 18.1630)
Luminance0.5553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28E257 #E228B3
analogous
#56E228 #28E257 #28E2B4
triadic
#28E257 #5728E2 #E25728
tetradic
#28E257 #2856E2 #E228B3 #E2B428
square
#28E257 #2856E2 #E228B3 #E2B428
split-complementary
#28E257 #B428E2 #E22856
monochromatic
#117F2D #18B440 #28E257 #5EE981 #94F1AB

Accessibility & contrast

On white

1.73
#28E257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#28E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28E257
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28E257#FFFFFF#000000##000000
##28E2571.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#D1BF63
Tritanopia (blue-blind)
#00DDC4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #28e257;
/* rgb */ color: rgb(40, 226, 87);
/* oklch */ color: oklch(79.8% 0.230 146.4);
Tailwind
colors: {
  custom: {
    50: '#84ed8b',
    500: '#28e257',
    950: '#000000',
  },
}
SCSS
$custom: #28e257;
$custom-light: #84ed8b;
$custom-dark: #000000;
JSON
{
  "hex": "#28e257",
  "rgb": {
    "r": 40,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 135.161,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79837,
    "c": 0.23018,
    "h": 146.4
  },
  "luminance": 0.55532
}

Semantic roles & 50–950 ramp

primary
#28E257
secondary
#86296E
accent
#35C3F3
background
#FCFFFC
surface
#F4FEF4
border
#CED6CE
text
#0D160C
muted
#7F857F

Preview Lab

Preview with #28E257

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

Preview Lab → · Contrast checker → · Palette generator →

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