#28AE40#28AE40

#28AE40 is a light, vivid green. Relative luminance 0.311; OKLCH L 65.8% C 0.188 H 145.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#28AE40
RGBrgb(40, 174, 64)
HSLhsl(131, 63%, 42%)
HSVhsv(131, 77%, 68%)
CMYKcmyk(77%, 0%, 63.2%, 31.8%)
CIE-LABlab(62.58, -57.37, 45.38)
CIE-LCHlch(62.58, 73.15, 141.66°)
OKLaboklab(65.85% -0.1547 0.1061)
OKLCHoklch(65.85% 0.188 145.6)
XYZxyz(16.9353, 31.0914, 9.9582)
Luminance0.3109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE40 #AE2896
analogous
#53AE28 #28AE40 #28AE83
triadic
#28AE40 #4028AE #AE4028
tetradic
#28AE40 #2853AE #AE2896 #AE8328
square
#28AE40 #2853AE #AE2896 #AE8328
split-complementary
#28AE40 #8328AE #AE2853
monochromatic
#114A1B #1D7C2E #28AE40 #40D35A #72DF85

Accessibility & contrast

On white

2.91
#28AE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#28AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AE40
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AE40#FFFFFF#000000##000000
##28AE401.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E33
Deuteranopia (green-blind)
#A2934A
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #28ae40;
/* rgb */ color: rgb(40, 174, 64);
/* oklch */ color: oklch(65.8% 0.188 145.6);
Tailwind
colors: {
  custom: {
    50: '#78c779',
    500: '#28ae40',
    950: '#000000',
  },
}
SCSS
$custom: #28ae40;
$custom-light: #78c779;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae40",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 130.746,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.18755,
    "h": 145.6
  },
  "luminance": 0.31093
}

Semantic roles & 50–950 ramp

primary
#28AE40
secondary
#C66CB6
accent
#42C8E6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #28AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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