#28A940#28A940

#28A940 is a light, vivid green. Relative luminance 0.292; OKLCH L 64.5% C 0.182 H 145.8°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#28A940
RGBrgb(40, 169, 64)
HSLhsl(131, 62%, 41%)
HSVhsv(131, 76%, 66%)
CMYKcmyk(76.3%, 0%, 62.1%, 33.7%)
CIE-LABlab(60.95, -55.69, 43.53)
CIE-LCHlch(60.95, 70.69, 141.99°)
OKLaboklab(64.49% -0.1501 0.1021)
OKLCHoklch(64.49% 0.182 145.8)
XYZxyz(15.9873, 29.1953, 9.6422)
Luminance0.2920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A940 #A92891
analogous
#50A928 #28A940 #28A980
triadic
#28A940 #4028A9 #A94028
tetradic
#28A940 #2850A9 #A92891 #A98028
square
#28A940 #2850A9 #A92891 #A98028
split-complementary
#28A940 #8028A9 #A92850
monochromatic
#11461B #1C782D #28A940 #3DD159 #6FDD83

Accessibility & contrast

On white

3.07
#28A940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#28A940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A940
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A940#FFFFFF#000000##000000
##28A9401.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9934
Deuteranopia (green-blind)
#9D8F49
Tritanopia (blue-blind)
#00A593
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #28a940;
/* rgb */ color: rgb(40, 169, 64);
/* oklch */ color: oklch(64.5% 0.182 145.8);
Tailwind
colors: {
  custom: {
    50: '#77c479',
    500: '#28a940',
    950: '#000000',
  },
}
SCSS
$custom: #28a940;
$custom-light: #77c479;
$custom-dark: #000000;
JSON
{
  "hex": "#28a940",
  "rgb": {
    "r": 40,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 131.163,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64494,
    "c": 0.18156,
    "h": 145.8
  },
  "luminance": 0.29197
}

Semantic roles & 50–950 ramp

primary
#28A940
secondary
#C469B3
accent
#43C7E5
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #28A940

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

Preview Lab → · Contrast checker → · Palette generator →

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