#28A040#28A040

#28A040 is a light, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.171 H 146.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#28A040
RGBrgb(40, 160, 64)
HSLhsl(132, 60%, 39%)
HSVhsv(132, 75%, 63%)
CMYKcmyk(75%, 0%, 60%, 37.3%)
CIE-LABlab(58.00, -52.60, 40.13)
CIE-LCHlch(58.00, 66.16, 142.66°)
OKLaboklab(62.04% -0.1417 0.0948)
OKLCHoklch(62.04% 0.171 146.2)
XYZxyz(14.3703, 25.9612, 9.1032)
Luminance0.2596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A040 #A02888
analogous
#4CA028 #28A040 #28A07C
triadic
#28A040 #4028A0 #A04028
tetradic
#28A040 #284CA0 #A02888 #A07C28
square
#28A040 #284CA0 #A02888 #A07C28
split-complementary
#28A040 #7C28A0 #A0284C
monochromatic
#103E19 #1C6F2C #28A040 #38CD56 #69D97F

Accessibility & contrast

On white

3.39
#28A040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#28A040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A040
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A040#FFFFFF#000000##000000
##28A0401.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29136
Deuteranopia (green-blind)
#958848
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a040;
/* rgb */ color: rgb(40, 160, 64);
/* oklch */ color: oklch(62.0% 0.171 146.2);
Tailwind
colors: {
  custom: {
    50: '#75bd78',
    500: '#28a040',
    950: '#000000',
  },
}
SCSS
$custom: #28a040;
$custom-light: #75bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#28a040",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 132,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62045,
    "c": 0.17053,
    "h": 146.2
  },
  "luminance": 0.25963
}

Semantic roles & 50–950 ramp

primary
#28A040
secondary
#C064AD
accent
#45C3E3
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A040

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

Preview Lab → · Contrast checker → · Palette generator →

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