#28C52F#28C52F

#28C52F is a light, highly saturated green. Relative luminance 0.406; OKLCH L 71.9% C 0.224 H 143.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#28C52F
RGBrgb(40, 197, 47)
HSLhsl(123, 66%, 46%)
HSVhsv(123, 80%, 77%)
CMYKcmyk(79.7%, 0%, 76.1%, 22.7%)
CIE-LABlab(69.89, -66.24, 59.69)
CIE-LCHlch(69.89, 89.17, 137.98°)
OKLaboklab(71.87% -0.1795 0.1342)
OKLCHoklch(71.87% 0.224 143.2)
XYZxyz(21.3530, 40.5863, 9.3973)
Luminance0.4059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C52F #C528BE
analogous
#70C528 #28C52F #28C57E
triadic
#28C52F #2F28C5 #C52F28
tetradic
#28C52F #2870C5 #C528BE #C57E28
square
#28C52F #2870C5 #C528BE #C57E28
split-complementary
#28C52F #7E28C5 #C52870
monochromatic
#135F17 #1E9223 #28C52F #4FDB55 #82E686

Accessibility & contrast

On white

2.30
#28C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#28C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C52F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C52F#FFFFFF#000000##000000
##28C52F1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20A
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#00BFA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #28c52f;
/* rgb */ color: rgb(40, 197, 47);
/* oklch */ color: oklch(71.9% 0.224 143.2);
Tailwind
colors: {
  custom: {
    50: '#7fd872',
    500: '#28c52f',
    950: '#000000',
  },
}
SCSS
$custom: #28c52f;
$custom-light: #7fd872;
$custom-dark: #000000;
JSON
{
  "hex": "#28c52f",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 122.675,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71874,
    "c": 0.22409,
    "h": 143.2
  },
  "luminance": 0.40589
}

Semantic roles & 50–950 ramp

primary
#28C52F
secondary
#CE7ACB
accent
#3FE2E9
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #28C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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