#28C52C#28C52C

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

Color values

HEX#28C52C
RGBrgb(40, 197, 44)
HSLhsl(122, 66%, 46%)
HSVhsv(122, 80%, 77%)
CMYKcmyk(79.7%, 0%, 77.7%, 22.7%)
CIE-LABlab(69.87, -66.44, 60.64)
CIE-LCHlch(69.87, 89.96, 137.62°)
OKLaboklab(71.86% -0.1802 0.1357)
OKLCHoklch(71.86% 0.226 143)
XYZxyz(21.2946, 40.5629, 9.0895)
Luminance0.4057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C52C #C528C1
analogous
#73C528 #28C52C #28C57B
triadic
#28C52C #2C28C5 #C52C28
tetradic
#28C52C #2873C5 #C528C1 #C57B28
square
#28C52C #2873C5 #C528C1 #C57B28
split-complementary
#28C52C #7B28C5 #C52873
monochromatic
#135F15 #1E9221 #28C52C #4FDB53 #82E684

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28C52C#FFFFFF#000000##000000
##28C52C1.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)
#B9A63E
Tritanopia (blue-blind)
#00BFA8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #28c52c;
/* rgb */ color: rgb(40, 197, 44);
/* oklch */ color: oklch(71.9% 0.226 143.0);
Tailwind
colors: {
  custom: {
    50: '#7fd871',
    500: '#28c52c',
    950: '#000000',
  },
}
SCSS
$custom: #28c52c;
$custom-light: #7fd871;
$custom-dark: #000000;
JSON
{
  "hex": "#28c52c",
  "rgb": {
    "r": 40,
    "g": 197,
    "b": 44
  },
  "hsl": {
    "h": 121.529,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71855,
    "c": 0.22558,
    "h": 143
  },
  "luminance": 0.40565
}

Semantic roles & 50–950 ramp

primary
#28C52C
secondary
#CE7ACC
accent
#3FE5E9
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C52C

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

Preview Lab → · Contrast checker → · Palette generator →

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