#28AF57#28AF57

#28AF57 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.169 H 149.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#28AF57
RGBrgb(40, 175, 87)
HSLhsl(141, 63%, 42%)
HSVhsv(141, 77%, 69%)
CMYKcmyk(77.1%, 0%, 50.3%, 31.4%)
CIE-LABlab(63.17, -54.54, 35.07)
CIE-LCHlch(63.17, 64.84, 147.26°)
OKLaboklab(66.42% -0.1466 0.0851)
OKLCHoklch(66.42% 0.169 149.9)
XYZxyz(17.9238, 31.7970, 14.2078)
Luminance0.3180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF57 #AF2880
analogous
#3CAF28 #28AF57 #28AF9B
triadic
#28AF57 #5728AF #AF5728
tetradic
#28AF57 #283CAF #AF2880 #AF9B28
square
#28AF57 #283CAF #AF2880 #AF9B28
split-complementary
#28AF57 #9B28AF #AF283C
monochromatic
#114B25 #1D7D3E #28AF57 #41D474 #73DF98

Accessibility & contrast

On white

2.85
#28AF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#28AF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF57
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF57#FFFFFF#000000##000000
##28AF571.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F50
Deuteranopia (green-blind)
#A1955D
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af57;
/* rgb */ color: rgb(40, 175, 87);
/* oklch */ color: oklch(66.4% 0.169 149.9);
Tailwind
colors: {
  custom: {
    50: '#78c888',
    500: '#28af57',
    950: '#000000',
  },
}
SCSS
$custom: #28af57;
$custom-light: #78c888;
$custom-dark: #000000;
JSON
{
  "hex": "#28af57",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 140.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66423,
    "c": 0.16948,
    "h": 149.9
  },
  "luminance": 0.31799
}

Semantic roles & 50–950 ramp

primary
#28AF57
secondary
#C66DA7
accent
#42ADE6
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28AF57

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

Preview Lab → · Contrast checker → · Palette generator →

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