#28C342#28C342

#28C342 is a light, highly saturated green. Relative luminance 0.399; OKLCH L 71.5% C 0.210 H 145.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#28C342
RGBrgb(40, 195, 66)
HSLhsl(130, 66%, 46%)
HSVhsv(130, 79%, 76%)
CMYKcmyk(79.5%, 0%, 66.2%, 23.5%)
CIE-LABlab(69.38, -63.96, 52.06)
CIE-LCHlch(69.38, 82.47, 140.86°)
OKLaboklab(71.5% -0.1725 0.1205)
OKLCHoklch(71.5% 0.21 145.1)
XYZxyz(21.3720, 39.8721, 11.7229)
Luminance0.3987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C342 #C328A9
analogous
#5BC328 #28C342 #28C38F
triadic
#28C342 #4228C3 #C34228
tetradic
#28C342 #285BC3 #C328A9 #C38F28
square
#28C342 #285BC3 #C328A9 #C38F28
split-complementary
#28C342 #8F28C3 #C3285B
monochromatic
#135D20 #1E9031 #28C342 #4EDB65 #80E591

Accessibility & contrast

On white

2.34
#28C342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#28C342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C342
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C342#FFFFFF#000000##000000
##28C3421.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B131
Deuteranopia (green-blind)
#B6A54E
Tritanopia (blue-blind)
#00BEA8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #28c342;
/* rgb */ color: rgb(40, 195, 66);
/* oklch */ color: oklch(71.5% 0.210 145.1);
Tailwind
colors: {
  custom: {
    50: '#7dd67c',
    500: '#28c342',
    950: '#000000',
  },
}
SCSS
$custom: #28c342;
$custom-light: #7dd67c;
$custom-dark: #000000;
JSON
{
  "hex": "#28c342",
  "rgb": {
    "r": 40,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 130.065,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71495,
    "c": 0.21041,
    "h": 145.1
  },
  "luminance": 0.39875
}

Semantic roles & 50–950 ramp

primary
#28C342
secondary
#CE79C0
accent
#3FCCE9
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #28C342

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

Preview Lab → · Contrast checker → · Palette generator →

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