#28AC2B#28AC2B

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

Color values

HEX#28AC2B
RGBrgb(40, 172, 43)
HSLhsl(121, 62%, 42%)
HSVhsv(121, 77%, 67%)
CMYKcmyk(76.7%, 0%, 75%, 32.5%)
CIE-LABlab(61.77, -58.76, 53.00)
CIE-LCHlch(61.77, 79.13, 137.95°)
OKLaboklab(65.11% -0.1594 0.1197)
OKLCHoklch(65.11% 0.199 143.1)
XYZxyz(16.0626, 30.1287, 7.2539)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC2B #AC28A9
analogous
#67AC28 #28AC2B #28AC6D
triadic
#28AC2B #2B28AC #AC2B28
tetradic
#28AC2B #2867AC #AC28A9 #AC6D28
square
#28AC2B #2867AC #AC28A9 #AC6D28
split-complementary
#28AC2B #6D28AC #AC2867
monochromatic
#114912 #1C7A1F #28AC2B #3FD242 #71DE73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AC2B#FFFFFF#000000##000000
##28AC2B1.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)
#B09B11
Deuteranopia (green-blind)
#A19139
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #28ac2b;
/* rgb */ color: rgb(40, 172, 43);
/* oklch */ color: oklch(65.1% 0.199 143.1);
Tailwind
colors: {
  custom: {
    50: '#79c66d',
    500: '#28ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #28ac2b;
$custom-light: #79c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac2b",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 121.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65113,
    "c": 0.19929,
    "h": 143.1
  },
  "luminance": 0.30131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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