#28C526#28C526

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

Color values

HEX#28C526
RGBrgb(40, 197, 38)
HSLhsl(119, 68%, 46%)
HSVhsv(119, 81%, 77%)
CMYKcmyk(79.7%, 0%, 80.7%, 22.7%)
CIE-LABlab(69.84, -66.82, 62.39)
CIE-LCHlch(69.84, 91.42, 136.96°)
OKLaboklab(71.82% -0.1814 0.1386)
OKLCHoklch(71.82% 0.228 142.6)
XYZxyz(21.1898, 40.5210, 8.5379)
Luminance0.4052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C526 #C326C5
analogous
#77C526 #28C526 #26C573
triadic
#28C526 #2628C5 #C52628
tetradic
#28C526 #2677C5 #C326C5 #C57326
square
#28C526 #2677C5 #C326C5 #C57326
split-complementary
#28C526 #7326C5 #C52677
monochromatic
#135E12 #1E921C #28C526 #4EDC4C #80E67F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28C526#FFFFFF#000000##000000
##28C5261.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: #28c526;
/* rgb */ color: rgb(40, 197, 38);
/* oklch */ color: oklch(71.8% 0.228 142.6);
Tailwind
colors: {
  custom: {
    50: '#7fd86e',
    500: '#28c526',
    950: '#000000',
  },
}
SCSS
$custom: #28c526;
$custom-light: #7fd86e;
$custom-dark: #000000;
JSON
{
  "hex": "#28c526",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 119.245,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71821,
    "c": 0.22831,
    "h": 142.6
  },
  "luminance": 0.40524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28C526

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

Preview Lab → · Contrast checker → · Palette generator →

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