#28A254#28A254

#28A254 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.155 H 150.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#28A254
RGBrgb(40, 162, 84)
HSLhsl(142, 60%, 40%)
HSVhsv(142, 75%, 64%)
CMYKcmyk(75.3%, 0%, 48.1%, 36.5%)
CIE-LABlab(58.91, -50.34, 31.25)
CIE-LCHlch(58.91, 59.25, 148.17°)
OKLaboklab(62.88% -0.1353 0.0763)
OKLCHoklch(62.88% 0.155 150.6)
XYZxyz(15.3943, 26.9301, 12.7725)
Luminance0.2693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A254 #A22876
analogous
#39A228 #28A254 #28A291
triadic
#28A254 #5428A2 #A25428
tetradic
#28A254 #2839A2 #A22876 #A29128
square
#28A254 #2839A2 #A22876 #A29128
split-complementary
#28A254 #9128A2 #A22839
monochromatic
#104021 #1C713B #28A254 #39CE6F #6ADA93

Accessibility & contrast

On white

3.29
#28A254 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#28A254 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A254
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A254#FFFFFF#000000##000000
##28A2541.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944E
Deuteranopia (green-blind)
#958A5A
Tritanopia (blue-blind)
#009F90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a254;
/* rgb */ color: rgb(40, 162, 84);
/* oklch */ color: oklch(62.9% 0.155 150.6);
Tailwind
colors: {
  custom: {
    50: '#75bf85',
    500: '#28a254',
    950: '#000000',
  },
}
SCSS
$custom: #28a254;
$custom-light: #75bf85;
$custom-dark: #000000;
JSON
{
  "hex": "#28a254",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 141.639,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6288,
    "c": 0.15539,
    "h": 150.6
  },
  "luminance": 0.26932
}

Semantic roles & 50–950 ramp

primary
#28A254
secondary
#C165A0
accent
#44AAE4
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #28A254

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

Preview Lab → · Contrast checker → · Palette generator →

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