#28AF50#28AF50

#28AF50 is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.176 H 148.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#28AF50
RGBrgb(40, 175, 80)
HSLhsl(138, 63%, 42%)
HSVhsv(138, 77%, 69%)
CMYKcmyk(77.1%, 0%, 54.3%, 31.4%)
CIE-LABlab(63.08, -55.61, 38.44)
CIE-LCHlch(63.08, 67.61, 145.34°)
OKLaboklab(66.32% -0.1495 0.0923)
OKLCHoklch(66.32% 0.176 148.3)
XYZxyz(17.6516, 31.6882, 12.7740)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF50 #AF2887
analogous
#43AF28 #28AF50 #28AF94
triadic
#28AF50 #5028AF #AF5028
tetradic
#28AF50 #2843AF #AF2887 #AF9428
square
#28AF50 #2843AF #AF2887 #AF9428
split-complementary
#28AF50 #9428AF #AF2843
monochromatic
#114B22 #1D7D39 #28AF50 #41D46C #73DF93

Accessibility & contrast

On white

2.86
#28AF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#28AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF50
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF50#FFFFFF#000000##000000
##28AF501.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F47
Deuteranopia (green-blind)
#A19457
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af50;
/* rgb */ color: rgb(40, 175, 80);
/* oklch */ color: oklch(66.3% 0.176 148.3);
Tailwind
colors: {
  custom: {
    50: '#78c883',
    500: '#28af50',
    950: '#000000',
  },
}
SCSS
$custom: #28af50;
$custom-light: #78c883;
$custom-dark: #000000;
JSON
{
  "hex": "#28af50",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 137.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66319,
    "c": 0.17567,
    "h": 148.3
  },
  "luminance": 0.3169
}

Semantic roles & 50–950 ramp

primary
#28AF50
secondary
#C66DAC
accent
#42B5E6
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28AF50

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

Preview Lab → · Contrast checker → · Palette generator →

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