#28AF36#28AF36

#28AF36 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.0% C 0.196 H 144.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#28AF36
RGBrgb(40, 175, 54)
HSLhsl(126, 63%, 42%)
HSVhsv(126, 77%, 69%)
CMYKcmyk(77.1%, 0%, 69.1%, 31.4%)
CIE-LABlab(62.82, -58.76, 49.90)
CIE-LCHlch(62.82, 77.09, 139.66°)
OKLaboklab(66.02% -0.1589 0.1146)
OKLCHoklch(66.02% 0.196 144.2)
XYZxyz(16.8698, 31.3754, 8.6563)
Luminance0.3138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF36 #AF28A1
analogous
#5EAF28 #28AF36 #28AF79
triadic
#28AF36 #3628AF #AF3628
tetradic
#28AF36 #285EAF #AF28A1 #AF7928
square
#28AF36 #285EAF #AF28A1 #AF7928
split-complementary
#28AF36 #7928AF #AF285E
monochromatic
#114B17 #1D7D27 #28AF36 #41D450 #73DF7E

Accessibility & contrast

On white

2.89
#28AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#28AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF36
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF36#FFFFFF#000000##000000
##28AF361.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E25
Deuteranopia (green-blind)
#A39442
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af36;
/* rgb */ color: rgb(40, 175, 54);
/* oklch */ color: oklch(66.0% 0.196 144.2);
Tailwind
colors: {
  custom: {
    50: '#79c873',
    500: '#28af36',
    950: '#000000',
  },
}
SCSS
$custom: #28af36;
$custom-light: #79c873;
$custom-dark: #000000;
JSON
{
  "hex": "#28af36",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 126.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66018,
    "c": 0.19588,
    "h": 144.2
  },
  "luminance": 0.31377
}

Semantic roles & 50–950 ramp

primary
#28AF36
secondary
#C66DBD
accent
#42D5E6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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