#28E254#28E254

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

Color values

HEX#28E254
RGBrgb(40, 226, 84)
HSLhsl(134, 76%, 52%)
HSVhsv(134, 82%, 89%)
CMYKcmyk(82.3%, 0%, 62.8%, 11.4%)
CIE-LABlab(79.32, -71.67, 55.54)
CIE-LCHlch(79.32, 90.67, 142.23°)
OKLaboklab(79.81% -0.1928 0.1296)
OKLCHoklch(79.81% 0.232 146.1)
XYZxyz(29.6694, 55.4802, 17.5308)
Luminance0.5548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28E254 #E228B6
analogous
#59E228 #28E254 #28E2B1
triadic
#28E254 #5428E2 #E25428
tetradic
#28E254 #2859E2 #E228B6 #E2B128
square
#28E254 #2859E2 #E228B6 #E2B128
split-complementary
#28E254 #B128E2 #E22859
monochromatic
#117F2B #18B43D #28E254 #5EE97F #94F1AA

Accessibility & contrast

On white

1.74
#28E254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#28E254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28E254
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28E254#FFFFFF#000000##000000
##28E2541.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD43
Deuteranopia (green-blind)
#D2BF61
Tritanopia (blue-blind)
#00DCC4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #28e254;
/* rgb */ color: rgb(40, 226, 84);
/* oklch */ color: oklch(79.8% 0.232 146.1);
Tailwind
colors: {
  custom: {
    50: '#84ed89',
    500: '#28e254',
    950: '#000000',
  },
}
SCSS
$custom: #28e254;
$custom-light: #84ed89;
$custom-dark: #000000;
JSON
{
  "hex": "#28e254",
  "rgb": {
    "r": 40,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 134.194,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79806,
    "c": 0.23235,
    "h": 146.1
  },
  "luminance": 0.55484
}

Semantic roles & 50–950 ramp

primary
#28E254
secondary
#862970
accent
#35C6F3
background
#FCFFFC
surface
#F4FEF4
border
#CED6CE
text
#0D160C
muted
#7F857F

Preview Lab

Preview with #28E254

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

Preview Lab → · Contrast checker → · Palette generator →

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