#28A342#28A342

#28A342 is a light, vivid green. Relative luminance 0.270; OKLCH L 62.9% C 0.173 H 146.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#28A342
RGBrgb(40, 163, 66)
HSLhsl(133, 61%, 40%)
HSVhsv(133, 75%, 64%)
CMYKcmyk(75.5%, 0%, 59.5%, 36.1%)
CIE-LABlab(59.01, -53.39, 40.36)
CIE-LCHlch(59.01, 66.92, 142.91°)
OKLaboklab(62.89% -0.1438 0.0954)
OKLCHoklch(62.89% 0.173 146.4)
XYZxyz(14.9545, 27.0371, 9.5837)
Luminance0.2704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A342 #A32889
analogous
#4CA328 #28A342 #28A380
triadic
#28A342 #4228A3 #A34228
tetradic
#28A342 #284CA3 #A32889 #A38028
square
#28A342 #284CA3 #A32889 #A38028
split-complementary
#28A342 #8028A3 #A3284C
monochromatic
#10411A #1C722E #28A342 #3ACF59 #6BDB82

Accessibility & contrast

On white

3.28
#28A342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#28A342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A342
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A342#FFFFFF#000000##000000
##28A3421.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59438
Deuteranopia (green-blind)
#978A4A
Tritanopia (blue-blind)
#009F8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a342;
/* rgb */ color: rgb(40, 163, 66);
/* oklch */ color: oklch(62.9% 0.173 146.4);
Tailwind
colors: {
  custom: {
    50: '#76bf79',
    500: '#28a342',
    950: '#000000',
  },
}
SCSS
$custom: #28a342;
$custom-light: #76bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#28a342",
  "rgb": {
    "r": 40,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 132.683,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62888,
    "c": 0.1726,
    "h": 146.4
  },
  "luminance": 0.27039
}

Semantic roles & 50–950 ramp

primary
#28A342
secondary
#C166AE
accent
#44C2E4
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A342

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

Preview Lab → · Contrast checker → · Palette generator →

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