#28C52B#28C52B

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

Color values

HEX#28C52B
RGBrgb(40, 197, 43)
HSLhsl(121, 66%, 46%)
HSVhsv(121, 80%, 77%)
CMYKcmyk(79.7%, 0%, 78.2%, 22.7%)
CIE-LABlab(69.86, -66.51, 60.95)
CIE-LCHlch(69.86, 90.21, 137.50°)
OKLaboklab(71.85% -0.1804 0.1362)
OKLCHoklch(71.85% 0.226 142.9)
XYZxyz(21.2760, 40.5555, 8.9917)
Luminance0.4056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C52B #C528C2
analogous
#74C528 #28C52B #28C579
triadic
#28C52B #2B28C5 #C52B28
tetradic
#28C52B #2874C5 #C528C2 #C57928
square
#28C52B #2874C5 #C528C2 #C57928
split-complementary
#28C52B #7928C5 #C52874
monochromatic
#135F15 #1E9220 #28C52B #4FDB52 #82E684

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28C52B#FFFFFF#000000##000000
##28C52B1.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)
#C9B200
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#00BFA8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #28c52b;
/* rgb */ color: rgb(40, 197, 43);
/* oklch */ color: oklch(71.8% 0.226 142.9);
Tailwind
colors: {
  custom: {
    50: '#7fd870',
    500: '#28c52b',
    950: '#000000',
  },
}
SCSS
$custom: #28c52b;
$custom-light: #7fd870;
$custom-dark: #000000;
JSON
{
  "hex": "#28c52b",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 43
  },
  "hsl": {
    "h": 121.146,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71849,
    "c": 0.22606,
    "h": 142.9
  },
  "luminance": 0.40558
}

Semantic roles & 50–950 ramp

primary
#28C52B
secondary
#CE7ACD
accent
#3FE6E9
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C52B

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

Preview Lab → · Contrast checker → · Palette generator →

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