#28AF66#28AF66

#28AF66 is a light, vivid green. Relative luminance 0.321; OKLCH L 66.7% C 0.156 H 153.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#28AF66
RGBrgb(40, 175, 102)
HSLhsl(148, 63%, 42%)
HSVhsv(148, 77%, 69%)
CMYKcmyk(77.1%, 0%, 41.7%, 31.4%)
CIE-LABlab(63.40, -51.94, 27.58)
CIE-LCHlch(63.40, 58.81, 152.03°)
OKLaboklab(66.68% -0.1398 0.0685)
OKLCHoklch(66.68% 0.156 153.9)
XYZxyz(18.6016, 32.0681, 17.7772)
Luminance0.3207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF66 #AF2871
analogous
#2DAF28 #28AF66 #28AFAA
triadic
#28AF66 #6628AF #AF6628
tetradic
#28AF66 #282DAF #AF2871 #AFAA28
square
#28AF66 #282DAF #AF2871 #AFAA28
split-complementary
#28AF66 #AA28AF #AF282D
monochromatic
#114B2C #1D7D49 #28AF66 #41D484 #73DFA4

Accessibility & contrast

On white

2.83
#28AF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#28AF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF66
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF66#FFFFFF#000000##000000
##28AF661.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA061
Deuteranopia (green-blind)
#9F956B
Tritanopia (blue-blind)
#00AD9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af66;
/* rgb */ color: rgb(40, 175, 102);
/* oklch */ color: oklch(66.7% 0.156 153.9);
Tailwind
colors: {
  custom: {
    50: '#77c892',
    500: '#28af66',
    950: '#000000',
  },
}
SCSS
$custom: #28af66;
$custom-light: #77c892;
$custom-dark: #000000;
JSON
{
  "hex": "#28af66",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 102
  },
  "hsl": {
    "h": 147.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66682,
    "c": 0.1557,
    "h": 153.9
  },
  "luminance": 0.3207
}

Semantic roles & 50–950 ramp

primary
#28AF66
secondary
#C66D9D
accent
#429BE6
background
#F7FCF9
surface
#EEF8F1
border
#C9D1CB
text
#0A130D
muted
#7C827E

Preview Lab

Preview with #28AF66

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

Preview Lab → · Contrast checker → · Palette generator →

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