#28AC2D#28AC2D

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

Color values

HEX#28AC2D
RGBrgb(40, 172, 45)
HSLhsl(122, 62%, 42%)
HSVhsv(122, 77%, 67%)
CMYKcmyk(76.7%, 0%, 73.8%, 32.5%)
CIE-LABlab(61.78, -58.60, 52.29)
CIE-LCHlch(61.78, 78.54, 138.25°)
OKLaboklab(65.13% -0.1588 0.1185)
OKLCHoklch(65.13% 0.198 143.3)
XYZxyz(16.1002, 30.1437, 7.4519)
Luminance0.3015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AC2D #AC28A7
analogous
#65AC28 #28AC2D #28AC6F
triadic
#28AC2D #2D28AC #AC2D28
tetradic
#28AC2D #2865AC #AC28A7 #AC6F28
square
#28AC2D #2865AC #AC28A7 #AC6F28
split-complementary
#28AC2D #6F28AC #AC2865
monochromatic
#114913 #1C7A20 #28AC2D #3FD244 #71DE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #28ac2d;
/* rgb */ color: rgb(40, 172, 45);
/* oklch */ color: oklch(65.1% 0.198 143.3);
Tailwind
colors: {
  custom: {
    50: '#79c66e',
    500: '#28ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #28ac2d;
$custom-light: #79c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#28ac2d",
  "rgb": {
    "r": 40,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 122.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65128,
    "c": 0.19813,
    "h": 143.3
  },
  "luminance": 0.30146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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