#28AF48#28AF48

#28AF48 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.182 H 146.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#28AF48
RGBrgb(40, 175, 72)
HSLhsl(134, 63%, 42%)
HSVhsv(134, 77%, 69%)
CMYKcmyk(77.1%, 0%, 58.9%, 31.4%)
CIE-LABlab(62.99, -56.72, 42.18)
CIE-LCHlch(62.99, 70.69, 143.36°)
OKLaboklab(66.21% -0.1526 0.0999)
OKLCHoklch(66.21% 0.182 146.8)
XYZxyz(17.3734, 31.5769, 11.3090)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF48 #AF288F
analogous
#4CAF28 #28AF48 #28AF8C
triadic
#28AF48 #4828AF #AF4828
tetradic
#28AF48 #284CAF #AF288F #AF8C28
square
#28AF48 #284CAF #AF288F #AF8C28
split-complementary
#28AF48 #8C28AF #AF284C
monochromatic
#114B1F #1D7D34 #28AF48 #41D463 #73DF8C

Accessibility & contrast

On white

2.87
#28AF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#28AF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF48
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF48#FFFFFF#000000##000000
##28AF481.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3E
Deuteranopia (green-blind)
#A29450
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af48;
/* rgb */ color: rgb(40, 175, 72);
/* oklch */ color: oklch(66.2% 0.182 146.8);
Tailwind
colors: {
  custom: {
    50: '#78c87e',
    500: '#28af48',
    950: '#000000',
  },
}
SCSS
$custom: #28af48;
$custom-light: #78c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#28af48",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 134.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66212,
    "c": 0.18242,
    "h": 146.8
  },
  "luminance": 0.31579
}

Semantic roles & 50–950 ramp

primary
#28AF48
secondary
#C66DB1
accent
#42BFE6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #28AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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