#28AE51#28AE51

#28AE51 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.1% C 0.174 H 148.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#28AE51
RGBrgb(40, 174, 81)
HSLhsl(138, 63%, 42%)
HSVhsv(138, 77%, 68%)
CMYKcmyk(77%, 0%, 53.4%, 31.8%)
CIE-LABlab(62.77, -55.12, 37.57)
CIE-LCHlch(62.77, 66.71, 145.72°)
OKLaboklab(66.07% -0.1481 0.0904)
OKLCHoklch(66.07% 0.174 148.6)
XYZxyz(17.4949, 31.3152, 12.9054)
Luminance0.3132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE51 #AE2885
analogous
#42AE28 #28AE51 #28AE94
triadic
#28AE51 #5128AE #AE5128
tetradic
#28AE51 #2842AE #AE2885 #AE9428
square
#28AE51 #2842AE #AE2885 #AE9428
split-complementary
#28AE51 #9428AE #AE2842
monochromatic
#114A23 #1D7C3A #28AE51 #40D36D #72DF93

Accessibility & contrast

On white

2.89
#28AE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#28AE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AE51
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AE51#FFFFFF#000000##000000
##28AE511.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E49
Deuteranopia (green-blind)
#A09458
Tritanopia (blue-blind)
#00AA99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28ae51;
/* rgb */ color: rgb(40, 174, 81);
/* oklch */ color: oklch(66.1% 0.174 148.6);
Tailwind
colors: {
  custom: {
    50: '#78c784',
    500: '#28ae51',
    950: '#000000',
  },
}
SCSS
$custom: #28ae51;
$custom-light: #78c784;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae51",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 81
  },
  "hsl": {
    "h": 138.358,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66065,
    "c": 0.17354,
    "h": 148.6
  },
  "luminance": 0.31317
}

Semantic roles & 50–950 ramp

primary
#28AE51
secondary
#C66CAA
accent
#42B4E6
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28AE51

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

Preview Lab → · Contrast checker → · Palette generator →

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