#28AE52#28AE52

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

Color values

HEX#28AE52
RGBrgb(40, 174, 82)
HSLhsl(139, 63%, 42%)
HSVhsv(139, 77%, 68%)
CMYKcmyk(77%, 0%, 52.9%, 31.8%)
CIE-LABlab(62.79, -54.97, 37.09)
CIE-LCHlch(62.79, 66.31, 145.99°)
OKLaboklab(66.08% -0.1477 0.0894)
OKLCHoklch(66.08% 0.173 148.8)
XYZxyz(17.5327, 31.3303, 13.1043)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE52 #AE2884
analogous
#41AE28 #28AE52 #28AE95
triadic
#28AE52 #5228AE #AE5228
tetradic
#28AE52 #2841AE #AE2884 #AE9528
square
#28AE52 #2841AE #AE2884 #AE9528
split-complementary
#28AE52 #9528AE #AE2841
monochromatic
#114A23 #1D7C3B #28AE52 #40D36E #72DF94

Accessibility & contrast

On white

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

On black

7.27
#28AE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AE52
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AE52#FFFFFF#000000##000000
##28AE521.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E4A
Deuteranopia (green-blind)
#A09459
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28ae52;
/* rgb */ color: rgb(40, 174, 82);
/* oklch */ color: oklch(66.1% 0.173 148.8);
Tailwind
colors: {
  custom: {
    50: '#78c785',
    500: '#28ae52',
    950: '#000000',
  },
}
SCSS
$custom: #28ae52;
$custom-light: #78c785;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae52",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 82
  },
  "hsl": {
    "h": 138.806,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66079,
    "c": 0.17266,
    "h": 148.8
  },
  "luminance": 0.31332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28AE52

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

Preview Lab → · Contrast checker → · Palette generator →

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