#28AF5B#28AF5B

#28AF5B is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.166 H 150.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#28AF5B
RGBrgb(40, 175, 91)
HSLhsl(143, 63%, 42%)
HSVhsv(143, 77%, 69%)
CMYKcmyk(77.1%, 0%, 48%, 31.4%)
CIE-LABlab(63.23, -53.89, 33.10)
CIE-LCHlch(63.23, 63.24, 148.44°)
OKLaboklab(66.49% -0.1448 0.0808)
OKLCHoklch(66.49% 0.166 150.8)
XYZxyz(18.0918, 31.8642, 15.0924)
Luminance0.3187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF5B #AF287C
analogous
#38AF28 #28AF5B #28AF9F
triadic
#28AF5B #5B28AF #AF5B28
tetradic
#28AF5B #2838AF #AF287C #AF9F28
square
#28AF5B #2838AF #AF287C #AF9F28
split-complementary
#28AF5B #9F28AF #AF2838
monochromatic
#114B27 #1D7D41 #28AF5B #41D478 #73DF9B

Accessibility & contrast

On white

2.85
#28AF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#28AF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF5B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF5B#FFFFFF#000000##000000
##28AF5B1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A054
Deuteranopia (green-blind)
#A09561
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af5b;
/* rgb */ color: rgb(40, 175, 91);
/* oklch */ color: oklch(66.5% 0.166 150.8);
Tailwind
colors: {
  custom: {
    50: '#78c88b',
    500: '#28af5b',
    950: '#000000',
  },
}
SCSS
$custom: #28af5b;
$custom-light: #78c88b;
$custom-dark: #000000;
JSON
{
  "hex": "#28af5b",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 142.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66487,
    "c": 0.16585,
    "h": 150.8
  },
  "luminance": 0.31866
}

Semantic roles & 50–950 ramp

primary
#28AF5B
secondary
#C66DA4
accent
#42A8E6
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #28AF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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