#28AC2C#28AC2C

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

Color values

HEX#28AC2C
RGBrgb(40, 172, 44)
HSLhsl(122, 62%, 42%)
HSVhsv(122, 77%, 67%)
CMYKcmyk(76.7%, 0%, 74.4%, 32.5%)
CIE-LABlab(61.77, -58.68, 52.65)
CIE-LCHlch(61.77, 78.84, 138.10°)
OKLaboklab(65.12% -0.1591 0.1191)
OKLCHoklch(65.12% 0.199 143.2)
XYZxyz(16.0812, 30.1361, 7.3517)
Luminance0.3014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC2C #AC28A8
analogous
#66AC28 #28AC2C #28AC6E
triadic
#28AC2C #2C28AC #AC2C28
tetradic
#28AC2C #2866AC #AC28A8 #AC6E28
square
#28AC2C #2866AC #AC28A8 #AC6E28
split-complementary
#28AC2C #6E28AC #AC2866
monochromatic
#114913 #1C7A1F #28AC2C #3FD243 #71DE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AC2C#FFFFFF#000000##000000
##28AC2C1.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)
#B09B13
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#00A793
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #28ac2c;
/* rgb */ color: rgb(40, 172, 44);
/* oklch */ color: oklch(65.1% 0.199 143.2);
Tailwind
colors: {
  custom: {
    50: '#79c66e',
    500: '#28ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #28ac2c;
$custom-light: #79c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac2c",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 121.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65121,
    "c": 0.19872,
    "h": 143.2
  },
  "luminance": 0.30138
}

Semantic roles & 50–950 ramp

primary
#28AC2C
secondary
#C56BC2
accent
#42E0E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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