#28AF52#28AF52

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

Color values

HEX#28AF52
RGBrgb(40, 175, 82)
HSLhsl(139, 63%, 42%)
HSVhsv(139, 77%, 69%)
CMYKcmyk(77.1%, 0%, 53.1%, 31.4%)
CIE-LABlab(63.11, -55.32, 37.49)
CIE-LCHlch(63.11, 66.82, 145.87°)
OKLaboklab(66.35% -0.1487 0.0903)
OKLCHoklch(66.35% 0.174 148.7)
XYZxyz(17.7266, 31.7182, 13.1690)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF52 #AF2885
analogous
#41AF28 #28AF52 #28AF96
triadic
#28AF52 #5228AF #AF5228
tetradic
#28AF52 #2841AF #AF2885 #AF9628
square
#28AF52 #2841AF #AF2885 #AF9628
split-complementary
#28AF52 #9628AF #AF2841
monochromatic
#114B23 #1D7D3B #28AF52 #41D46E #73DF94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AF52#FFFFFF#000000##000000
##28AF521.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)
#B19F4A
Deuteranopia (green-blind)
#A19459
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af52;
/* rgb */ color: rgb(40, 175, 82);
/* oklch */ color: oklch(66.3% 0.174 148.7);
Tailwind
colors: {
  custom: {
    50: '#78c885',
    500: '#28af52',
    950: '#000000',
  },
}
SCSS
$custom: #28af52;
$custom-light: #78c885;
$custom-dark: #000000;
JSON
{
  "hex": "#28af52",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 138.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66347,
    "c": 0.17392,
    "h": 148.7
  },
  "luminance": 0.3172
}

Semantic roles & 50–950 ramp

primary
#28AF52
secondary
#C66DAA
accent
#42B3E6
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28AF52

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

Preview Lab → · Contrast checker → · Palette generator →

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