#28C42A#28C42A

#28C42A is a light, highly saturated green. Relative luminance 0.401; OKLCH L 71.6% C 0.225 H 142.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#28C42A
RGBrgb(40, 196, 42)
HSLhsl(121, 66%, 46%)
HSVhsv(121, 80%, 77%)
CMYKcmyk(79.6%, 0%, 78.6%, 23.1%)
CIE-LABlab(69.54, -66.27, 60.94)
CIE-LCHlch(69.54, 90.03, 137.40°)
OKLaboklab(71.58% -0.1798 0.1361)
OKLCHoklch(71.58% 0.225 142.9)
XYZxyz(21.0316, 40.0956, 8.8208)
Luminance0.4010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C42A #C428C2
analogous
#74C428 #28C42A #28C478
triadic
#28C42A #2A28C4 #C42A28
tetradic
#28C42A #2874C4 #C428C2 #C47828
square
#28C42A #2874C4 #C428C2 #C47828
split-complementary
#28C42A #7828C4 #C42874
monochromatic
#135E14 #1E911F #28C42A #4EDB50 #81E582

Accessibility & contrast

On white

2.33
#28C42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#28C42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C42A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C42A#FFFFFF#000000##000000
##28C42A1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#00BEA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #28c42a;
/* rgb */ color: rgb(40, 196, 42);
/* oklch */ color: oklch(71.6% 0.225 142.9);
Tailwind
colors: {
  custom: {
    50: '#7fd770',
    500: '#28c42a',
    950: '#000000',
  },
}
SCSS
$custom: #28c42a;
$custom-light: #7fd770;
$custom-dark: #000000;
JSON
{
  "hex": "#28c42a",
  "rgb": {
    "r": 40,
    "g": 196,
    "b": 42
  },
  "hsl": {
    "h": 120.769,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71576,
    "c": 0.22549,
    "h": 142.9
  },
  "luminance": 0.40098
}

Semantic roles & 50–950 ramp

primary
#28C42A
secondary
#CE7ACD
accent
#3FE7E9
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C42A

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

Preview Lab → · Contrast checker → · Palette generator →

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