#28AB42#28AB42

#28AB42 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.1% C 0.182 H 146.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#28AB42
RGBrgb(40, 171, 66)
HSLhsl(132, 62%, 41%)
HSVhsv(132, 77%, 67%)
CMYKcmyk(76.6%, 0%, 61.4%, 32.9%)
CIE-LABlab(61.63, -56.13, 43.39)
CIE-LCHlch(61.63, 70.94, 142.29°)
OKLaboklab(65.06% -0.1512 0.102)
OKLCHoklch(65.06% 0.182 146)
XYZxyz(16.4202, 29.9684, 10.0723)
Luminance0.2997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AB42 #AB2891
analogous
#50AB28 #28AB42 #28AB84
triadic
#28AB42 #4228AB #AB4228
tetradic
#28AB42 #2850AB #AB2891 #AB8428
square
#28AB42 #2850AB #AB2891 #AB8428
split-complementary
#28AB42 #8428AB #AB2850
monochromatic
#11481C #1C792F #28AB42 #3ED25C #70DE86

Accessibility & contrast

On white

3.00
#28AB42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#28AB42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28AB42
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AB42#FFFFFF#000000##000000
##28AB421.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#9F914B
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #28ab42;
/* rgb */ color: rgb(40, 171, 66);
/* oklch */ color: oklch(65.1% 0.182 146.0);
Tailwind
colors: {
  custom: {
    50: '#78c57a',
    500: '#28ab42',
    950: '#000000',
  },
}
SCSS
$custom: #28ab42;
$custom-light: #78c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#28ab42",
  "rgb": {
    "r": 40,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 131.908,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65059,
    "c": 0.1824,
    "h": 146
  },
  "luminance": 0.2997
}

Semantic roles & 50–950 ramp

primary
#28AB42
secondary
#C46AB3
accent
#43C5E5
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #28AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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