#28A240#28A240

#28A240 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.6% C 0.173 H 146.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#28A240
RGBrgb(40, 162, 64)
HSLhsl(132, 60%, 40%)
HSVhsv(132, 75%, 64%)
CMYKcmyk(75.3%, 0%, 60.5%, 36.5%)
CIE-LABlab(58.66, -53.30, 40.90)
CIE-LCHlch(58.66, 67.18, 142.50°)
OKLaboklab(62.59% -0.1436 0.0964)
OKLCHoklch(62.59% 0.173 146.1)
XYZxyz(14.7198, 26.6602, 9.2197)
Luminance0.2666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A240 #A2288A
analogous
#4DA228 #28A240 #28A27D
triadic
#28A240 #4028A2 #A24028
tetradic
#28A240 #284DA2 #A2288A #A27D28
square
#28A240 #284DA2 #A2288A #A27D28
split-complementary
#28A240 #7D28A2 #A2284D
monochromatic
#104019 #1C712D #28A240 #39CE56 #6ADA80

Accessibility & contrast

On white

3.32
#28A240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#28A240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A240
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A240#FFFFFF#000000##000000
##28A2401.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49336
Deuteranopia (green-blind)
#968948
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a240;
/* rgb */ color: rgb(40, 162, 64);
/* oklch */ color: oklch(62.6% 0.173 146.1);
Tailwind
colors: {
  custom: {
    50: '#76bf78',
    500: '#28a240',
    950: '#000000',
  },
}
SCSS
$custom: #28a240;
$custom-light: #76bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#28a240",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 131.803,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62591,
    "c": 0.17302,
    "h": 146.1
  },
  "luminance": 0.26662
}

Semantic roles & 50–950 ramp

primary
#28A240
secondary
#C165AF
accent
#44C4E4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A240

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

Preview Lab → · Contrast checker → · Palette generator →

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