#28A720#28A720

#28A720 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.7% C 0.199 H 142.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#28A720
RGBrgb(40, 167, 32)
HSLhsl(116, 68%, 39%)
HSVhsv(116, 81%, 65%)
CMYKcmyk(76%, 0%, 80.8%, 34.5%)
CIE-LABlab(60.06, -57.93, 54.95)
CIE-LCHlch(60.06, 79.84, 136.51°)
OKLaboklab(63.68% -0.1576 0.1222)
OKLCHoklch(63.68% 0.199 142.2)
XYZxyz(14.9536, 28.1911, 6.0196)
Luminance0.2819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A720 #9F20A7
analogous
#6CA720 #28A720 #20A75B
triadic
#28A720 #2028A7 #A72028
tetradic
#28A720 #206CA7 #9F20A7 #A75B20
square
#28A720 #206CA7 #9F20A7 #A75B20
split-complementary
#28A720 #5B20A7 #A7206C
monochromatic
#0F400C #1C7416 #28A720 #37D72D #68E161

Accessibility & contrast

On white

3.16
#28A720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#28A720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A720
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A720#FFFFFF#000000##000000
##28A7201.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#00A28E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #28a720;
/* rgb */ color: rgb(40, 167, 32);
/* oklch */ color: oklch(63.7% 0.199 142.2);
Tailwind
colors: {
  custom: {
    50: '#78c267',
    500: '#28a720',
    950: '#000000',
  },
}
SCSS
$custom: #28a720;
$custom-light: #78c267;
$custom-dark: #000000;
JSON
{
  "hex": "#28a720",
  "rgb": {
    "r": 40,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 116.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63677,
    "c": 0.19944,
    "h": 142.2
  },
  "luminance": 0.28193
}

Semantic roles & 50–950 ramp

primary
#28A720
secondary
#BF5DC5
accent
#3DEBE0
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #28A720

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

Preview Lab → · Contrast checker → · Palette generator →

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