#28AF4D#28AF4D

#28AF4D is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.178 H 147.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#28AF4D
RGBrgb(40, 175, 77)
HSLhsl(136, 63%, 42%)
HSVhsv(136, 77%, 69%)
CMYKcmyk(77.1%, 0%, 56%, 31.4%)
CIE-LABlab(63.05, -56.04, 39.86)
CIE-LCHlch(63.05, 68.77, 144.58°)
OKLaboklab(66.28% -0.1507 0.0952)
OKLCHoklch(66.28% 0.178 147.7)
XYZxyz(17.5432, 31.6448, 12.2032)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF4D #AF288A
analogous
#47AF28 #28AF4D #28AF90
triadic
#28AF4D #4D28AF #AF4D28
tetradic
#28AF4D #2847AF #AF288A #AF9028
square
#28AF4D #2847AF #AF288A #AF9028
split-complementary
#28AF4D #9028AF #AF2847
monochromatic
#114B21 #1D7D37 #28AF4D #41D469 #73DF90

Accessibility & contrast

On white

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

On black

7.33
#28AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF4D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF4D#FFFFFF#000000##000000
##28AF4D1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F44
Deuteranopia (green-blind)
#A29455
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af4d;
/* rgb */ color: rgb(40, 175, 77);
/* oklch */ color: oklch(66.3% 0.178 147.7);
Tailwind
colors: {
  custom: {
    50: '#78c881',
    500: '#28af4d',
    950: '#000000',
  },
}
SCSS
$custom: #28af4d;
$custom-light: #78c881;
$custom-dark: #000000;
JSON
{
  "hex": "#28af4d",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 136.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66277,
    "c": 0.17825,
    "h": 147.7
  },
  "luminance": 0.31647
}

Semantic roles & 50–950 ramp

primary
#28AF4D
secondary
#C66DAE
accent
#42B9E6
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #28AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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