#28AF4C#28AF4C

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

Color values

HEX#28AF4C
RGBrgb(40, 175, 76)
HSLhsl(136, 63%, 42%)
HSVhsv(136, 77%, 69%)
CMYKcmyk(77.1%, 0%, 56.6%, 31.4%)
CIE-LABlab(63.04, -56.18, 40.33)
CIE-LCHlch(63.04, 69.16, 144.33°)
OKLaboklab(66.26% -0.1511 0.0962)
OKLCHoklch(66.26% 0.179 147.5)
XYZxyz(17.5082, 31.6308, 12.0187)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF4C #AF288B
analogous
#48AF28 #28AF4C #28AF90
triadic
#28AF4C #4C28AF #AF4C28
tetradic
#28AF4C #2848AF #AF288B #AF9028
square
#28AF4C #2848AF #AF288B #AF9028
split-complementary
#28AF4C #9028AF #AF2848
monochromatic
#114B21 #1D7D36 #28AF4C #41D468 #73DF8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AF4C#FFFFFF#000000##000000
##28AF4C1.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)
#B19F43
Deuteranopia (green-blind)
#A29454
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af4c;
/* rgb */ color: rgb(40, 175, 76);
/* oklch */ color: oklch(66.3% 0.179 147.5);
Tailwind
colors: {
  custom: {
    50: '#78c881',
    500: '#28af4c',
    950: '#000000',
  },
}
SCSS
$custom: #28af4c;
$custom-light: #78c881;
$custom-dark: #000000;
JSON
{
  "hex": "#28af4c",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 136,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.1791,
    "h": 147.5
  },
  "luminance": 0.31633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28AF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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