#28AA21#28AA21

#28AA21 is a light, highly saturated green. Relative luminance 0.293; OKLCH L 64.5% C 0.202 H 142.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#28AA21
RGBrgb(40, 170, 33)
HSLhsl(117, 67%, 40%)
HSVhsv(117, 81%, 67%)
CMYKcmyk(76.5%, 0%, 80.6%, 33.3%)
CIE-LABlab(61.05, -58.82, 55.59)
CIE-LCHlch(61.05, 80.93, 136.62°)
OKLaboklab(64.5% -0.16 0.1237)
OKLCHoklch(64.5% 0.202 142.3)
XYZxyz(15.5234, 29.3086, 6.2775)
Luminance0.2931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AA21 #A321AA
analogous
#6DAA21 #28AA21 #21AA5E
triadic
#28AA21 #2128AA #AA2128
tetradic
#28AA21 #216DAA #A321AA #AA5E21
square
#28AA21 #216DAA #A321AA #AA5E21
split-complementary
#28AA21 #5E21AA #AA216D
monochromatic
#10430D #1C7717 #28AA21 #3AD731 #6BE164

Accessibility & contrast

On white

3.06
#28AA21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#28AA21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28AA21
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AA21#FFFFFF#000000##000000
##28AA211.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#00A591
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #28aa21;
/* rgb */ color: rgb(40, 170, 33);
/* oklch */ color: oklch(64.5% 0.202 142.3);
Tailwind
colors: {
  custom: {
    50: '#79c468',
    500: '#28aa21',
    950: '#000000',
  },
}
SCSS
$custom: #28aa21;
$custom-light: #79c468;
$custom-dark: #000000;
JSON
{
  "hex": "#28aa21",
  "rgb": {
    "r": 40,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 116.934,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64504,
    "c": 0.20221,
    "h": 142.3
  },
  "luminance": 0.2931
}

Semantic roles & 50–950 ramp

primary
#28AA21
secondary
#C161C6
accent
#3DEAE2
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AA21

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

Preview Lab → · Contrast checker → · Palette generator →

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