#28C52A#28C52A

#28C52A is a light, highly saturated green. Relative luminance 0.406; OKLCH L 71.8% C 0.227 H 142.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#28C52A
RGBrgb(40, 197, 42)
HSLhsl(121, 66%, 46%)
HSVhsv(121, 80%, 77%)
CMYKcmyk(79.7%, 0%, 78.7%, 22.7%)
CIE-LABlab(69.86, -66.57, 61.25)
CIE-LCHlch(69.86, 90.46, 137.39°)
OKLaboklab(71.84% -0.1806 0.1367)
OKLCHoklch(71.84% 0.227 142.9)
XYZxyz(21.2579, 40.5482, 8.8963)
Luminance0.4055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C52A #C528C3
analogous
#75C528 #28C52A #28C579
triadic
#28C52A #2A28C5 #C52A28
tetradic
#28C52A #2875C5 #C528C3 #C57928
square
#28C52A #2875C5 #C528C3 #C57928
split-complementary
#28C52A #7928C5 #C52875
monochromatic
#135F14 #1E921F #28C52A #4FDB51 #82E683

Accessibility & contrast

On white

2.31
#28C52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#28C52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C52A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C52A#FFFFFF#000000##000000
##28C52A1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#00BFA8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #28c52a;
/* rgb */ color: rgb(40, 197, 42);
/* oklch */ color: oklch(71.8% 0.227 142.9);
Tailwind
colors: {
  custom: {
    50: '#7fd870',
    500: '#28c52a',
    950: '#000000',
  },
}
SCSS
$custom: #28c52a;
$custom-light: #7fd870;
$custom-dark: #000000;
JSON
{
  "hex": "#28c52a",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 42
  },
  "hsl": {
    "h": 120.764,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71843,
    "c": 0.22653,
    "h": 142.9
  },
  "luminance": 0.40551
}

Semantic roles & 50–950 ramp

primary
#28C52A
secondary
#CE7ACD
accent
#3FE7E9
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C52A

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

Preview Lab → · Contrast checker → · Palette generator →

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