#28AF60#28AF60

#28AF60 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.161 H 152.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#28AF60
RGBrgb(40, 175, 96)
HSLhsl(145, 63%, 42%)
HSVhsv(145, 77%, 69%)
CMYKcmyk(77.1%, 0%, 45.1%, 31.4%)
CIE-LABlab(63.30, -53.03, 30.61)
CIE-LCHlch(63.30, 61.23, 150.01°)
OKLaboklab(66.57% -0.1426 0.0753)
OKLCHoklch(66.57% 0.161 152.2)
XYZxyz(18.3147, 31.9534, 16.2664)
Luminance0.3196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF60 #AF2877
analogous
#33AF28 #28AF60 #28AFA4
triadic
#28AF60 #6028AF #AF6028
tetradic
#28AF60 #2833AF #AF2877 #AFA428
square
#28AF60 #2833AF #AF2877 #AFA428
split-complementary
#28AF60 #A428AF #AF2833
monochromatic
#114B29 #1D7D45 #28AF60 #41D47E #73DF9F

Accessibility & contrast

On white

2.84
#28AF60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#28AF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF60
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF60#FFFFFF#000000##000000
##28AF601.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05A
Deuteranopia (green-blind)
#A09565
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af60;
/* rgb */ color: rgb(40, 175, 96);
/* oklch */ color: oklch(66.6% 0.161 152.2);
Tailwind
colors: {
  custom: {
    50: '#78c88e',
    500: '#28af60',
    950: '#000000',
  },
}
SCSS
$custom: #28af60;
$custom-light: #78c88e;
$custom-dark: #000000;
JSON
{
  "hex": "#28af60",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 96
  },
  "hsl": {
    "h": 144.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66572,
    "c": 0.16126,
    "h": 152.2
  },
  "luminance": 0.31956
}

Semantic roles & 50–950 ramp

primary
#28AF60
secondary
#C66DA1
accent
#42A2E6
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #28AF60

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

Preview Lab → · Contrast checker → · Palette generator →

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