#28A540#28A540

#28A540 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.4% C 0.177 H 146.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#28A540
RGBrgb(40, 165, 64)
HSLhsl(132, 61%, 40%)
HSVhsv(132, 76%, 65%)
CMYKcmyk(75.8%, 0%, 61.2%, 35.3%)
CIE-LABlab(59.64, -54.33, 42.03)
CIE-LCHlch(59.64, 68.69, 142.27°)
OKLaboklab(63.41% -0.1464 0.0989)
OKLCHoklch(63.41% 0.177 146)
XYZxyz(15.2545, 27.7298, 9.3979)
Luminance0.2773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A540 #A5288D
analogous
#4EA528 #28A540 #28A57E
triadic
#28A540 #4028A5 #A54028
tetradic
#28A540 #284EA5 #A5288D #A57E28
square
#28A540 #284EA5 #A5288D #A57E28
split-complementary
#28A540 #7E28A5 #A5284E
monochromatic
#10421A #1C742D #28A540 #3BCF57 #6CDB81

Accessibility & contrast

On white

3.21
#28A540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#28A540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A540
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A540#FFFFFF#000000##000000
##28A5401.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79635
Deuteranopia (green-blind)
#998C48
Tritanopia (blue-blind)
#00A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #28a540;
/* rgb */ color: rgb(40, 165, 64);
/* oklch */ color: oklch(63.4% 0.177 146.0);
Tailwind
colors: {
  custom: {
    50: '#76c178',
    500: '#28a540',
    950: '#000000',
  },
}
SCSS
$custom: #28a540;
$custom-light: #76c178;
$custom-dark: #000000;
JSON
{
  "hex": "#28a540",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 131.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.1767,
    "h": 146
  },
  "luminance": 0.27732
}

Semantic roles & 50–950 ramp

primary
#28A540
secondary
#C267B0
accent
#44C5E4
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A540

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

Preview Lab → · Contrast checker → · Palette generator →

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