#28A542#28A542

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

Color values

HEX#28A542
RGBrgb(40, 165, 66)
HSLhsl(132, 61%, 40%)
HSVhsv(132, 76%, 65%)
CMYKcmyk(75.8%, 0%, 60%, 35.3%)
CIE-LABlab(59.66, -54.08, 41.12)
CIE-LCHlch(59.66, 67.94, 142.75°)
OKLaboklab(63.43% -0.1457 0.0971)
OKLCHoklch(63.43% 0.175 146.3)
XYZxyz(15.3125, 27.7530, 9.7031)
Luminance0.2776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A542 #A5288B
analogous
#4CA528 #28A542 #28A580
triadic
#28A542 #4228A5 #A54228
tetradic
#28A542 #284CA5 #A5288B #A58028
square
#28A542 #284CA5 #A5288B #A58028
split-complementary
#28A542 #8028A5 #A5284C
monochromatic
#10421B #1C742E #28A542 #3BCF5A #6CDB83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A542#FFFFFF#000000##000000
##28A5421.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)
#A79638
Deuteranopia (green-blind)
#998C4A
Tritanopia (blue-blind)
#00A190
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #28a542;
/* rgb */ color: rgb(40, 165, 66);
/* oklch */ color: oklch(63.4% 0.175 146.3);
Tailwind
colors: {
  custom: {
    50: '#76c17a',
    500: '#28a542',
    950: '#000000',
  },
}
SCSS
$custom: #28a542;
$custom-light: #76c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#28a542",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 132.48,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63432,
    "c": 0.17507,
    "h": 146.3
  },
  "luminance": 0.27755
}

Semantic roles & 50–950 ramp

primary
#28A542
secondary
#C267AF
accent
#44C3E4
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A542

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

Preview Lab → · Contrast checker → · Palette generator →

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