#28AC2E#28AC2E

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

Color values

HEX#28AC2E
RGBrgb(40, 172, 46)
HSLhsl(123, 62%, 42%)
HSVhsv(123, 77%, 67%)
CMYKcmyk(76.7%, 0%, 73.3%, 32.5%)
CIE-LABlab(61.78, -58.52, 51.93)
CIE-LCHlch(61.78, 78.23, 138.41°)
OKLaboklab(65.14% -0.1586 0.1178)
OKLCHoklch(65.14% 0.198 143.4)
XYZxyz(16.1197, 30.1515, 7.5545)
Luminance0.3015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC2E #AC28A6
analogous
#64AC28 #28AC2E #28AC70
triadic
#28AC2E #2E28AC #AC2E28
tetradic
#28AC2E #2864AC #AC28A6 #AC7028
square
#28AC2E #2864AC #AC28A6 #AC7028
split-complementary
#28AC2E #7028AC #AC2864
monochromatic
#114913 #1C7A21 #28AC2E #3FD246 #71DE76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AC2E#FFFFFF#000000##000000
##28AC2E1.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)
#B09B17
Deuteranopia (green-blind)
#A1913B
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #28ac2e;
/* rgb */ color: rgb(40, 172, 46);
/* oklch */ color: oklch(65.1% 0.198 143.4);
Tailwind
colors: {
  custom: {
    50: '#79c66f',
    500: '#28ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #28ac2e;
$custom-light: #79c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac2e",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 122.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65136,
    "c": 0.19754,
    "h": 143.4
  },
  "luminance": 0.30153
}

Semantic roles & 50–950 ramp

primary
#28AC2E
secondary
#C56BC1
accent
#42DEE5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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