#28AF5C#28AF5C

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

Color values

HEX#28AF5C
RGBrgb(40, 175, 92)
HSLhsl(143, 63%, 42%)
HSVhsv(143, 77%, 69%)
CMYKcmyk(77.1%, 0%, 47.4%, 31.4%)
CIE-LABlab(63.24, -53.72, 32.60)
CIE-LCHlch(63.24, 62.84, 148.75°)
OKLaboklab(66.5% -0.1444 0.0798)
OKLCHoklch(66.5% 0.165 151.1)
XYZxyz(18.1352, 31.8816, 15.3211)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF5C #AF287B
analogous
#38AF28 #28AF5C #28AFA0
triadic
#28AF5C #5C28AF #AF5C28
tetradic
#28AF5C #2838AF #AF287B #AFA028
square
#28AF5C #2838AF #AF287B #AFA028
split-complementary
#28AF5C #A028AF #AF2838
monochromatic
#114B28 #1D7D42 #28AF5C #41D479 #73DF9C

Accessibility & contrast

On white

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

On black

7.38
#28AF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF5C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF5C#FFFFFF#000000##000000
##28AF5C1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28af5c;
/* rgb */ color: rgb(40, 175, 92);
/* oklch */ color: oklch(66.5% 0.165 151.1);
Tailwind
colors: {
  custom: {
    50: '#78c88b',
    500: '#28af5c',
    950: '#000000',
  },
}
SCSS
$custom: #28af5c;
$custom-light: #78c88b;
$custom-dark: #000000;
JSON
{
  "hex": "#28af5c",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 92
  },
  "hsl": {
    "h": 143.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66504,
    "c": 0.16493,
    "h": 151.1
  },
  "luminance": 0.31884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28AF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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