#28AC31#28AC31

#28AC31 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.2% C 0.196 H 143.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#28AC31
RGBrgb(40, 172, 49)
HSLhsl(124, 62%, 42%)
HSVhsv(124, 77%, 67%)
CMYKcmyk(76.7%, 0%, 71.5%, 32.5%)
CIE-LABlab(61.81, -58.26, 50.81)
CIE-LCHlch(61.81, 77.30, 138.90°)
OKLaboklab(65.16% -0.1577 0.1159)
OKLCHoklch(65.16% 0.196 143.7)
XYZxyz(16.1809, 30.1760, 7.8769)
Luminance0.3018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC31 #AC28A3
analogous
#61AC28 #28AC31 #28AC73
triadic
#28AC31 #3128AC #AC3128
tetradic
#28AC31 #2861AC #AC28A3 #AC7328
square
#28AC31 #2861AC #AC28A3 #AC7328
split-complementary
#28AC31 #7328AC #AC2861
monochromatic
#114915 #1C7A23 #28AC31 #3FD249 #71DE78

Accessibility & contrast

On white

2.98
#28AC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#28AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AC31
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AC31#FFFFFF#000000##000000
##28AC311.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28ac31;
/* rgb */ color: rgb(40, 172, 49);
/* oklch */ color: oklch(65.2% 0.196 143.7);
Tailwind
colors: {
  custom: {
    50: '#79c670',
    500: '#28ac31',
    950: '#000000',
  },
}
SCSS
$custom: #28ac31;
$custom-light: #79c670;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac31",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 124.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6516,
    "c": 0.19571,
    "h": 143.7
  },
  "luminance": 0.30178
}

Semantic roles & 50–950 ramp

primary
#28AC31
secondary
#C56BBF
accent
#42DAE5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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