#28C52D#28C52D

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

Color values

HEX#28C52D
RGBrgb(40, 197, 45)
HSLhsl(122, 66%, 46%)
HSVhsv(122, 80%, 77%)
CMYKcmyk(79.7%, 0%, 77.2%, 22.7%)
CIE-LABlab(69.87, -66.38, 60.33)
CIE-LCHlch(69.87, 89.70, 137.73°)
OKLaboklab(71.86% -0.18 0.1352)
OKLCHoklch(71.86% 0.225 143.1)
XYZxyz(21.3136, 40.5705, 9.1897)
Luminance0.4057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C52D #C528C0
analogous
#72C528 #28C52D #28C57C
triadic
#28C52D #2D28C5 #C52D28
tetradic
#28C52D #2872C5 #C528C0 #C57C28
square
#28C52D #2872C5 #C528C0 #C57C28
split-complementary
#28C52D #7C28C5 #C52872
monochromatic
#135F16 #1E9221 #28C52D #4FDB53 #82E685

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28C52D#FFFFFF#000000##000000
##28C52D1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28c52d;
/* rgb */ color: rgb(40, 197, 45);
/* oklch */ color: oklch(71.9% 0.225 143.1);
Tailwind
colors: {
  custom: {
    50: '#7fd871',
    500: '#28c52d',
    950: '#000000',
  },
}
SCSS
$custom: #28c52d;
$custom-light: #7fd871;
$custom-dark: #000000;
JSON
{
  "hex": "#28c52d",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 45
  },
  "hsl": {
    "h": 121.911,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71861,
    "c": 0.22509,
    "h": 143.1
  },
  "luminance": 0.40573
}

Semantic roles & 50–950 ramp

primary
#28C52D
secondary
#CE7ACC
accent
#3FE4E9
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C52D

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

Preview Lab → · Contrast checker → · Palette generator →

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