#28AE42#28AE42

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

Color values

HEX#28AE42
RGBrgb(40, 174, 66)
HSLhsl(132, 63%, 42%)
HSVhsv(132, 77%, 68%)
CMYKcmyk(77%, 0%, 62.1%, 31.8%)
CIE-LABlab(62.60, -57.14, 44.50)
CIE-LCHlch(62.60, 72.42, 142.08°)
OKLaboklab(65.87% -0.154 0.1044)
OKLCHoklch(65.87% 0.186 145.9)
XYZxyz(16.9933, 31.1146, 10.2633)
Luminance0.3112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE42 #AE2894
analogous
#51AE28 #28AE42 #28AE85
triadic
#28AE42 #4228AE #AE4228
tetradic
#28AE42 #2851AE #AE2894 #AE8528
square
#28AE42 #2851AE #AE2894 #AE8528
split-complementary
#28AE42 #8528AE #AE2851
monochromatic
#114A1C #1D7C2F #28AE42 #40D35D #72DF87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AE42#FFFFFF#000000##000000
##28AE421.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)
#B19E36
Deuteranopia (green-blind)
#A2934B
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #28ae42;
/* rgb */ color: rgb(40, 174, 66);
/* oklch */ color: oklch(65.9% 0.186 145.9);
Tailwind
colors: {
  custom: {
    50: '#78c77a',
    500: '#28ae42',
    950: '#000000',
  },
}
SCSS
$custom: #28ae42;
$custom-light: #78c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae42",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 131.642,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6587,
    "c": 0.18602,
    "h": 145.9
  },
  "luminance": 0.31117
}

Semantic roles & 50–950 ramp

primary
#28AE42
secondary
#C66CB4
accent
#42C6E6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #28AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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