#28AF59#28AF59

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

Color values

HEX#28AF59
RGBrgb(40, 175, 89)
HSLhsl(142, 63%, 42%)
HSVhsv(142, 77%, 69%)
CMYKcmyk(77.1%, 0%, 49.1%, 31.4%)
CIE-LABlab(63.20, -54.22, 34.09)
CIE-LCHlch(63.20, 64.05, 147.85°)
OKLaboklab(66.46% -0.1457 0.083)
OKLCHoklch(66.46% 0.168 150.3)
XYZxyz(18.0067, 31.8302, 14.6441)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF59 #AF287E
analogous
#3AAF28 #28AF59 #28AF9D
triadic
#28AF59 #5928AF #AF5928
tetradic
#28AF59 #283AAF #AF287E #AF9D28
square
#28AF59 #283AAF #AF287E #AF9D28
split-complementary
#28AF59 #9D28AF #AF283A
monochromatic
#114B26 #1D7D40 #28AF59 #41D476 #73DF9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AF59#FFFFFF#000000##000000
##28AF591.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)
#B0A052
Deuteranopia (green-blind)
#A1955F
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af59;
/* rgb */ color: rgb(40, 175, 89);
/* oklch */ color: oklch(66.5% 0.168 150.3);
Tailwind
colors: {
  custom: {
    50: '#78c889',
    500: '#28af59',
    950: '#000000',
  },
}
SCSS
$custom: #28af59;
$custom-light: #78c889;
$custom-dark: #000000;
JSON
{
  "hex": "#28af59",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 89
  },
  "hsl": {
    "h": 141.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66455,
    "c": 0.16767,
    "h": 150.3
  },
  "luminance": 0.31832
}

Semantic roles & 50–950 ramp

primary
#28AF59
secondary
#C66DA6
accent
#42AAE6
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #28AF59

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

Preview Lab → · Contrast checker → · Palette generator →

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