#28AC40#28AC40

#28AC40 is a light, vivid green. Relative luminance 0.303; OKLCH L 65.3% C 0.185 H 145.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#28AC40
RGBrgb(40, 172, 64)
HSLhsl(131, 62%, 42%)
HSVhsv(131, 77%, 67%)
CMYKcmyk(76.7%, 0%, 62.8%, 32.5%)
CIE-LABlab(61.93, -56.70, 44.65)
CIE-LCHlch(61.93, 72.17, 141.79°)
OKLaboklab(65.31% -0.1529 0.1045)
OKLCHoklch(65.31% 0.185 145.6)
XYZxyz(16.5518, 30.3244, 9.8304)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC40 #AC2894
analogous
#52AC28 #28AC40 #28AC82
triadic
#28AC40 #4028AC #AC4028
tetradic
#28AC40 #2852AC #AC2894 #AC8228
square
#28AC40 #2852AC #AC2894 #AC8228
split-complementary
#28AC40 #8228AC #AC2852
monochromatic
#11491B #1C7A2E #28AC40 #3FD25A #71DE84

Accessibility & contrast

On white

2.97
#28AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#28AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AC40
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AC40#FFFFFF#000000##000000
##28AC401.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#A09249
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #28ac40;
/* rgb */ color: rgb(40, 172, 64);
/* oklch */ color: oklch(65.3% 0.185 145.6);
Tailwind
colors: {
  custom: {
    50: '#78c679',
    500: '#28ac40',
    950: '#000000',
  },
}
SCSS
$custom: #28ac40;
$custom-light: #78c679;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac40",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 130.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65307,
    "c": 0.18517,
    "h": 145.6
  },
  "luminance": 0.30326
}

Semantic roles & 50–950 ramp

primary
#28AC40
secondary
#C56BB4
accent
#42C8E5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #28AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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