#28AF62#28AF62

#28AF62 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.159 H 152.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#28AF62
RGBrgb(40, 175, 98)
HSLhsl(146, 63%, 42%)
HSVhsv(146, 77%, 69%)
CMYKcmyk(77.1%, 0%, 44%, 31.4%)
CIE-LABlab(63.34, -52.68, 29.60)
CIE-LCHlch(63.34, 60.43, 150.66°)
OKLaboklab(66.61% -0.1417 0.0731)
OKLCHoklch(66.61% 0.159 152.7)
XYZxyz(18.4080, 31.9907, 16.7576)
Luminance0.3199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF62 #AF2875
analogous
#31AF28 #28AF62 #28AFA6
triadic
#28AF62 #6228AF #AF6228
tetradic
#28AF62 #2831AF #AF2875 #AFA628
square
#28AF62 #2831AF #AF2875 #AFA628
split-complementary
#28AF62 #A628AF #AF2831
monochromatic
#114B2A #1D7D46 #28AF62 #41D480 #73DFA1

Accessibility & contrast

On white

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

On black

7.40
#28AF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF62
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF62#FFFFFF#000000##000000
##28AF621.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05C
Deuteranopia (green-blind)
#9F9567
Tritanopia (blue-blind)
#00AD9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af62;
/* rgb */ color: rgb(40, 175, 98);
/* oklch */ color: oklch(66.6% 0.159 152.7);
Tailwind
colors: {
  custom: {
    50: '#78c88f',
    500: '#28af62',
    950: '#000000',
  },
}
SCSS
$custom: #28af62;
$custom-light: #78c88f;
$custom-dark: #000000;
JSON
{
  "hex": "#28af62",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 98
  },
  "hsl": {
    "h": 145.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66608,
    "c": 0.15941,
    "h": 152.7
  },
  "luminance": 0.31993
}

Semantic roles & 50–950 ramp

primary
#28AF62
secondary
#C66DA0
accent
#429FE6
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #28AF62

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

Preview Lab → · Contrast checker → · Palette generator →

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