#28C525#28C525

#28C525 is a light, highly saturated green. Relative luminance 0.405; OKLCH L 71.8% C 0.229 H 142.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#28C525
RGBrgb(40, 197, 37)
HSLhsl(119, 68%, 46%)
HSVhsv(119, 81%, 77%)
CMYKcmyk(79.7%, 0%, 81.2%, 22.7%)
CIE-LABlab(69.83, -66.87, 62.67)
CIE-LCHlch(69.83, 91.65, 136.86°)
OKLaboklab(71.82% -0.1816 0.139)
OKLCHoklch(71.82% 0.229 142.6)
XYZxyz(21.1739, 40.5146, 8.4541)
Luminance0.4052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C525 #C225C5
analogous
#78C525 #28C525 #25C572
triadic
#28C525 #2528C5 #C52528
tetradic
#28C525 #2578C5 #C225C5 #C57225
square
#28C525 #2578C5 #C225C5 #C57225
split-complementary
#28C525 #7225C5 #C52578
monochromatic
#135E12 #1E911B #28C525 #4DDD4A #80E77E

Accessibility & contrast

On white

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

On black

9.10
#28C525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C525
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C525#FFFFFF#000000##000000
##28C5251.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28c525;
/* rgb */ color: rgb(40, 197, 37);
/* oklch */ color: oklch(71.8% 0.229 142.6);
Tailwind
colors: {
  custom: {
    50: '#7fd86e',
    500: '#28c525',
    950: '#000000',
  },
}
SCSS
$custom: #28c525;
$custom-light: #7fd86e;
$custom-dark: #000000;
JSON
{
  "hex": "#28c525",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 37
  },
  "hsl": {
    "h": 118.875,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71816,
    "c": 0.22873,
    "h": 142.6
  },
  "luminance": 0.40517
}

Semantic roles & 50–950 ramp

primary
#28C525
secondary
#CD77CF
accent
#3DEBE8
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C525

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

Preview Lab → · Contrast checker → · Palette generator →

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