#28C52E#28C52E

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

Color values

HEX#28C52E
RGBrgb(40, 197, 46)
HSLhsl(122, 66%, 46%)
HSVhsv(122, 80%, 77%)
CMYKcmyk(79.7%, 0%, 76.6%, 22.7%)
CIE-LABlab(69.88, -66.31, 60.01)
CIE-LCHlch(69.88, 89.43, 137.85°)
OKLaboklab(71.87% -0.1797 0.1347)
OKLCHoklch(71.87% 0.225 143.2)
XYZxyz(21.3331, 40.5783, 9.2923)
Luminance0.4058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C52E #C528BF
analogous
#71C528 #28C52E #28C57D
triadic
#28C52E #2E28C5 #C52E28
tetradic
#28C52E #2871C5 #C528BF #C57D28
square
#28C52E #2871C5 #C528BF #C57D28
split-complementary
#28C52E #7D28C5 #C52871
monochromatic
#135F16 #1E9222 #28C52E #4FDB54 #82E686

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28C52E#FFFFFF#000000##000000
##28C52E1.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)
#C9B206
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#00BFA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #28c52e;
/* rgb */ color: rgb(40, 197, 46);
/* oklch */ color: oklch(71.9% 0.225 143.2);
Tailwind
colors: {
  custom: {
    50: '#7fd872',
    500: '#28c52e',
    950: '#000000',
  },
}
SCSS
$custom: #28c52e;
$custom-light: #7fd872;
$custom-dark: #000000;
JSON
{
  "hex": "#28c52e",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 46
  },
  "hsl": {
    "h": 122.293,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71867,
    "c": 0.2246,
    "h": 143.2
  },
  "luminance": 0.40581
}

Semantic roles & 50–950 ramp

primary
#28C52E
secondary
#CE7ACB
accent
#3FE3E9
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C52E

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

Preview Lab → · Contrast checker → · Palette generator →

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