#28C531#28C531

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

Color values

HEX#28C531
RGBrgb(40, 197, 49)
HSLhsl(123, 66%, 46%)
HSVhsv(123, 80%, 77%)
CMYKcmyk(79.7%, 0%, 75.1%, 22.7%)
CIE-LABlab(69.90, -66.09, 59.04)
CIE-LCHlch(69.90, 88.62, 138.23°)
OKLaboklab(71.89% -0.179 0.133)
OKLCHoklch(71.89% 0.223 143.4)
XYZxyz(21.3943, 40.6028, 9.6147)
Luminance0.4061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C531 #C528BC
analogous
#6EC528 #28C531 #28C57F
triadic
#28C531 #3128C5 #C53128
tetradic
#28C531 #286EC5 #C528BC #C57F28
square
#28C531 #286EC5 #C528BC #C57F28
split-complementary
#28C531 #7F28C5 #C5286E
monochromatic
#135F18 #1E9224 #28C531 #4FDB57 #82E688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28C531#FFFFFF#000000##000000
##28C5311.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)
#C9B210
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#00BFA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #28c531;
/* rgb */ color: rgb(40, 197, 49);
/* oklch */ color: oklch(71.9% 0.223 143.4);
Tailwind
colors: {
  custom: {
    50: '#7fd873',
    500: '#28c531',
    950: '#000000',
  },
}
SCSS
$custom: #28c531;
$custom-light: #7fd873;
$custom-dark: #000000;
JSON
{
  "hex": "#28c531",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 123.439,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71887,
    "c": 0.22304,
    "h": 143.4
  },
  "luminance": 0.40605
}

Semantic roles & 50–950 ramp

primary
#28C531
secondary
#CE7ACA
accent
#3FDFE9
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #28C531

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

Preview Lab → · Contrast checker → · Palette generator →

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