#28AF51#28AF51

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

Color values

HEX#28AF51
RGBrgb(40, 175, 81)
HSLhsl(138, 63%, 42%)
HSVhsv(138, 77%, 69%)
CMYKcmyk(77.1%, 0%, 53.7%, 31.4%)
CIE-LABlab(63.10, -55.47, 37.97)
CIE-LCHlch(63.10, 67.22, 145.61°)
OKLaboklab(66.33% -0.1491 0.0913)
OKLCHoklch(66.33% 0.175 148.5)
XYZxyz(17.6888, 31.7030, 12.9700)
Luminance0.3170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF51 #AF2886
analogous
#43AF28 #28AF51 #28AF95
triadic
#28AF51 #5128AF #AF5128
tetradic
#28AF51 #2843AF #AF2886 #AF9528
square
#28AF51 #2843AF #AF2886 #AF9528
split-complementary
#28AF51 #9528AF #AF2843
monochromatic
#114B23 #1D7D3A #28AF51 #41D46D #73DF93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AF51#FFFFFF#000000##000000
##28AF511.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)
#B19F49
Deuteranopia (green-blind)
#A19458
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af51;
/* rgb */ color: rgb(40, 175, 81);
/* oklch */ color: oklch(66.3% 0.175 148.5);
Tailwind
colors: {
  custom: {
    50: '#78c884',
    500: '#28af51',
    950: '#000000',
  },
}
SCSS
$custom: #28af51;
$custom-light: #78c884;
$custom-dark: #000000;
JSON
{
  "hex": "#28af51",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 138.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66333,
    "c": 0.1748,
    "h": 148.5
  },
  "luminance": 0.31705
}

Semantic roles & 50–950 ramp

primary
#28AF51
secondary
#C66DAB
accent
#42B4E6
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28AF51

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

Preview Lab → · Contrast checker → · Palette generator →

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