#28AF5F#28AF5F

#28AF5F is a light, vivid green. Relative luminance 0.319; OKLCH L 66.6% C 0.162 H 151.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#28AF5F
RGBrgb(40, 175, 95)
HSLhsl(144, 63%, 42%)
HSVhsv(144, 77%, 69%)
CMYKcmyk(77.1%, 0%, 45.7%, 31.4%)
CIE-LABlab(63.29, -53.21, 31.11)
CIE-LCHlch(63.29, 61.64, 149.69°)
OKLaboklab(66.55% -0.143 0.0764)
OKLCHoklch(66.55% 0.162 151.9)
XYZxyz(18.2690, 31.9351, 16.0255)
Luminance0.3194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF5F #AF2878
analogous
#35AF28 #28AF5F #28AFA2
triadic
#28AF5F #5F28AF #AF5F28
tetradic
#28AF5F #2835AF #AF2878 #AFA228
square
#28AF5F #2835AF #AF2878 #AFA228
split-complementary
#28AF5F #A228AF #AF2835
monochromatic
#114B29 #1D7D44 #28AF5F #41D47D #73DF9F

Accessibility & contrast

On white

2.84
#28AF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#28AF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF5F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF5F#FFFFFF#000000##000000
##28AF5F1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA059
Deuteranopia (green-blind)
#A09565
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af5f;
/* rgb */ color: rgb(40, 175, 95);
/* oklch */ color: oklch(66.6% 0.162 151.9);
Tailwind
colors: {
  custom: {
    50: '#78c88d',
    500: '#28af5f',
    950: '#000000',
  },
}
SCSS
$custom: #28af5f;
$custom-light: #78c88d;
$custom-dark: #000000;
JSON
{
  "hex": "#28af5f",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 144.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66555,
    "c": 0.16218,
    "h": 151.9
  },
  "luminance": 0.31937
}

Semantic roles & 50–950 ramp

primary
#28AF5F
secondary
#C66DA2
accent
#42A3E6
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #28AF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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