#28AC2A#28AC2A

#28AC2A is a light, vivid green. Relative luminance 0.301; OKLCH L 65.1% C 0.200 H 143.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#28AC2A
RGBrgb(40, 172, 42)
HSLhsl(121, 62%, 42%)
HSVhsv(121, 77%, 67%)
CMYKcmyk(76.7%, 0%, 75.6%, 32.5%)
CIE-LABlab(61.76, -58.83, 53.35)
CIE-LCHlch(61.76, 79.42, 137.80°)
OKLaboklab(65.11% -0.1596 0.1203)
OKLCHoklch(65.11% 0.2 143)
XYZxyz(16.0445, 30.1215, 7.1585)
Luminance0.3012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC2A #AC28AA
analogous
#68AC28 #28AC2A #28AC6C
triadic
#28AC2A #2A28AC #AC2A28
tetradic
#28AC2A #2868AC #AC28AA #AC6C28
square
#28AC2A #2868AC #AC28AA #AC6C28
split-complementary
#28AC2A #6C28AC #AC2868
monochromatic
#114912 #1C7A1E #28AC2A #3FD241 #71DE72

Accessibility & contrast

On white

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

On black

7.02
#28AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AC2A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AC2A#FFFFFF#000000##000000
##28AC2A1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0E
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #28ac2a;
/* rgb */ color: rgb(40, 172, 42);
/* oklch */ color: oklch(65.1% 0.200 143.0);
Tailwind
colors: {
  custom: {
    50: '#79c66d',
    500: '#28ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #28ac2a;
$custom-light: #79c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac2a",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 120.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65106,
    "c": 0.19984,
    "h": 143
  },
  "luminance": 0.30123
}

Semantic roles & 50–950 ramp

primary
#28AC2A
secondary
#C56BC3
accent
#42E3E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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