#28AC42#28AC42

#28AC42 is a light, vivid green. Relative luminance 0.303; OKLCH L 65.3% C 0.184 H 146.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#28AC42
RGBrgb(40, 172, 66)
HSLhsl(132, 62%, 42%)
HSVhsv(132, 77%, 67%)
CMYKcmyk(76.7%, 0%, 61.6%, 32.5%)
CIE-LABlab(61.95, -56.46, 43.76)
CIE-LCHlch(61.95, 71.44, 142.22°)
OKLaboklab(65.33% -0.1521 0.1028)
OKLCHoklch(65.33% 0.184 146)
XYZxyz(16.6098, 30.3476, 10.1355)
Luminance0.3035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC42 #AC2892
analogous
#50AC28 #28AC42 #28AC84
triadic
#28AC42 #4228AC #AC4228
tetradic
#28AC42 #2850AC #AC2892 #AC8428
square
#28AC42 #2850AC #AC2892 #AC8428
split-complementary
#28AC42 #8428AC #AC2850
monochromatic
#11491C #1C7A2F #28AC42 #3FD25C #71DE86

Accessibility & contrast

On white

2.97
#28AC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#28AC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AC42
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AC42#FFFFFF#000000##000000
##28AC421.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C36
Deuteranopia (green-blind)
#A0924B
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #28ac42;
/* rgb */ color: rgb(40, 172, 66);
/* oklch */ color: oklch(65.3% 0.184 146.0);
Tailwind
colors: {
  custom: {
    50: '#78c67a',
    500: '#28ac42',
    950: '#000000',
  },
}
SCSS
$custom: #28ac42;
$custom-light: #78c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac42",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 131.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6533,
    "c": 0.18362,
    "h": 146
  },
  "luminance": 0.3035
}

Semantic roles & 50–950 ramp

primary
#28AC42
secondary
#C56BB3
accent
#42C5E5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #28AC42

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

Preview Lab → · Contrast checker → · Palette generator →

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