#28AC2F#28AC2F

#28AC2F is a light, vivid green. Relative luminance 0.302; OKLCH L 65.1% C 0.197 H 143.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#28AC2F
RGBrgb(40, 172, 47)
HSLhsl(123, 62%, 42%)
HSVhsv(123, 77%, 67%)
CMYKcmyk(76.7%, 0%, 72.7%, 32.5%)
CIE-LABlab(61.79, -58.43, 51.56)
CIE-LCHlch(61.79, 77.93, 138.57°)
OKLaboklab(65.14% -0.1583 0.1172)
OKLCHoklch(65.14% 0.197 143.5)
XYZxyz(16.1396, 30.1595, 7.6595)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC2F #AC28A5
analogous
#63AC28 #28AC2F #28AC71
triadic
#28AC2F #2F28AC #AC2F28
tetradic
#28AC2F #2863AC #AC28A5 #AC7128
square
#28AC2F #2863AC #AC28A5 #AC7128
split-complementary
#28AC2F #7128AC #AC2863
monochromatic
#114914 #1C7A21 #28AC2F #3FD247 #71DE76

Accessibility & contrast

On white

2.99
#28AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#28AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AC2F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AC2F#FFFFFF#000000##000000
##28AC2F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B19
Deuteranopia (green-blind)
#A1913C
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #28ac2f;
/* rgb */ color: rgb(40, 172, 47);
/* oklch */ color: oklch(65.1% 0.197 143.5);
Tailwind
colors: {
  custom: {
    50: '#79c66f',
    500: '#28ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #28ac2f;
$custom-light: #79c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac2f",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 123.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65144,
    "c": 0.19695,
    "h": 143.5
  },
  "luminance": 0.30161
}

Semantic roles & 50–950 ramp

primary
#28AC2F
secondary
#C56BC0
accent
#42DDE5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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