#28A721#28A721

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

Color values

HEX#28A721
RGBrgb(40, 167, 33)
HSLhsl(117, 67%, 39%)
HSVhsv(117, 80%, 65%)
CMYKcmyk(76%, 0%, 80.2%, 34.5%)
CIE-LABlab(60.07, -57.86, 54.65)
CIE-LCHlch(60.07, 79.59, 136.64°)
OKLaboklab(63.68% -0.1574 0.1218)
OKLCHoklch(63.68% 0.199 142.3)
XYZxyz(14.9674, 28.1966, 6.0922)
Luminance0.2820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A721 #A021A7
analogous
#6BA721 #28A721 #21A75D
triadic
#28A721 #2128A7 #A72128
tetradic
#28A721 #216BA7 #A021A7 #A75D21
square
#28A721 #216BA7 #A021A7 #A75D21
split-complementary
#28A721 #5D21A7 #A7216B
monochromatic
#10410D #1C7417 #28A721 #38D62F #69E062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A721#FFFFFF#000000##000000
##28A7211.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: #28a721;
/* rgb */ color: rgb(40, 167, 33);
/* oklch */ color: oklch(63.7% 0.199 142.3);
Tailwind
colors: {
  custom: {
    50: '#78c268',
    500: '#28a721',
    950: '#000000',
  },
}
SCSS
$custom: #28a721;
$custom-light: #78c268;
$custom-dark: #000000;
JSON
{
  "hex": "#28a721",
  "rgb": {
    "r": 40,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 116.866,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.19898,
    "h": 142.3
  },
  "luminance": 0.28198
}

Semantic roles & 50–950 ramp

primary
#28A721
secondary
#C05FC5
accent
#3EEAE1
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #28A721

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

Preview Lab → · Contrast checker → · Palette generator →

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