#28AF47#28AF47

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

Color values

HEX#28AF47
RGBrgb(40, 175, 71)
HSLhsl(134, 63%, 42%)
HSVhsv(134, 77%, 69%)
CMYKcmyk(77.1%, 0%, 59.4%, 31.4%)
CIE-LABlab(62.98, -56.85, 42.64)
CIE-LCHlch(62.98, 71.06, 143.13°)
OKLaboklab(66.2% -0.153 0.1008)
OKLCHoklch(66.2% 0.183 146.6)
XYZxyz(17.3411, 31.5639, 11.1385)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF47 #AF2890
analogous
#4CAF28 #28AF47 #28AF8B
triadic
#28AF47 #4728AF #AF4728
tetradic
#28AF47 #284CAF #AF2890 #AF8B28
square
#28AF47 #284CAF #AF2890 #AF8B28
split-complementary
#28AF47 #8B28AF #AF284C
monochromatic
#114B1F #1D7D33 #28AF47 #41D462 #73DF8B

Accessibility & contrast

On white

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

On black

7.31
#28AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF47
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF47#FFFFFF#000000##000000
##28AF471.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28af47;
/* rgb */ color: rgb(40, 175, 71);
/* oklch */ color: oklch(66.2% 0.183 146.6);
Tailwind
colors: {
  custom: {
    50: '#78c87d',
    500: '#28af47',
    950: '#000000',
  },
}
SCSS
$custom: #28af47;
$custom-light: #78c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#28af47",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 133.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.18324,
    "h": 146.6
  },
  "luminance": 0.31566
}

Semantic roles & 50–950 ramp

primary
#28AF47
secondary
#C66DB2
accent
#42C0E6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #28AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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