#28E340#28E340

#28E340 is a light, highly saturated green. Relative luminance 0.558; OKLCH L 79.9% C 0.246 H 144.1°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#28E340
RGBrgb(40, 227, 64)
HSLhsl(128, 77%, 52%)
HSVhsv(128, 82%, 89%)
CMYKcmyk(82.4%, 0%, 71.8%, 11%)
CIE-LABlab(79.47, -73.89, 63.50)
CIE-LCHlch(79.47, 97.43, 139.32°)
OKLaboklab(79.89% -0.1996 0.1442)
OKLCHoklch(79.89% 0.246 144.1)
XYZxyz(29.2675, 55.7558, 14.0689)
Luminance0.5576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28E340 #E328CB
analogous
#6DE328 #28E340 #28E39E
triadic
#28E340 #4028E3 #E34028
tetradic
#28E340 #286DE3 #E328CB #E39E28
square
#28E340 #286DE3 #E328CB #E39E28
split-complementary
#28E340 #9E28E3 #E3286D
monochromatic
#11801F #18B62C #28E340 #5EEA70 #94F1A0

Accessibility & contrast

On white

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

On black

12.15
#28E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28E340
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28E340#FFFFFF#000000##000000
##28E3401.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD23
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#00DDC3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #28e340;
/* rgb */ color: rgb(40, 227, 64);
/* oklch */ color: oklch(79.9% 0.246 144.1);
Tailwind
colors: {
  custom: {
    50: '#85ed7e',
    500: '#28e340',
    950: '#000000',
  },
}
SCSS
$custom: #28e340;
$custom-light: #85ed7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28e340",
  "rgb": {
    "r": 40,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 127.701,
    "s": 76.955,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79887,
    "c": 0.24628,
    "h": 144.1
  },
  "luminance": 0.55759
}

Semantic roles & 50–950 ramp

primary
#28E340
secondary
#87287B
accent
#34DBF3
background
#FCFFFB
surface
#F4FEF2
border
#CED6CC
text
#0D160B
muted
#7F857E

Preview Lab

Preview with #28E340

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

Preview Lab → · Contrast checker → · Palette generator →

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