#28A142#28A142

#28A142 is a light, vivid green. Relative luminance 0.263; OKLCH L 62.3% C 0.170 H 146.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#28A142
RGBrgb(40, 161, 66)
HSLhsl(133, 60%, 39%)
HSVhsv(133, 75%, 63%)
CMYKcmyk(75.2%, 0%, 59%, 36.9%)
CIE-LABlab(58.35, -52.69, 39.59)
CIE-LCHlch(58.35, 65.91, 143.08°)
OKLaboklab(62.34% -0.1419 0.0938)
OKLCHoklch(62.34% 0.17 146.5)
XYZxyz(14.6022, 26.3325, 9.4663)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A142 #A12887
analogous
#4AA128 #28A142 #28A17F
triadic
#28A142 #4228A1 #A14228
tetradic
#28A142 #284AA1 #A12887 #A17F28
square
#28A142 #284AA1 #A12887 #A17F28
split-complementary
#28A142 #7F28A1 #A1284A
monochromatic
#103F1A #1C702E #28A142 #39CE59 #6ADA82

Accessibility & contrast

On white

3.35
#28A142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#28A142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A142
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A142#FFFFFF#000000##000000
##28A1421.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39238
Deuteranopia (green-blind)
#95894A
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a142;
/* rgb */ color: rgb(40, 161, 66);
/* oklch */ color: oklch(62.3% 0.170 146.5);
Tailwind
colors: {
  custom: {
    50: '#75be79',
    500: '#28a142',
    950: '#000000',
  },
}
SCSS
$custom: #28a142;
$custom-light: #75be79;
$custom-dark: #000000;
JSON
{
  "hex": "#28a142",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 132.893,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.17012,
    "h": 146.5
  },
  "luminance": 0.26334
}

Semantic roles & 50–950 ramp

primary
#28A142
secondary
#C065AC
accent
#44C1E3
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A142

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

Preview Lab → · Contrast checker → · Palette generator →

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