#28A252#28A252

#28A252 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.157 H 150.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#28A252
RGBrgb(40, 162, 82)
HSLhsl(141, 60%, 40%)
HSVhsv(141, 75%, 64%)
CMYKcmyk(75.3%, 0%, 49.4%, 36.5%)
CIE-LABlab(58.88, -50.67, 32.25)
CIE-LCHlch(58.88, 60.06, 147.52°)
OKLaboklab(62.85% -0.1362 0.0785)
OKLCHoklch(62.85% 0.157 150)
XYZxyz(15.3171, 26.8992, 12.3658)
Luminance0.2690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A252 #A22878
analogous
#3BA228 #28A252 #28A28F
triadic
#28A252 #5228A2 #A25228
tetradic
#28A252 #283BA2 #A22878 #A28F28
square
#28A252 #283BA2 #A22878 #A28F28
split-complementary
#28A252 #8F28A2 #A2283B
monochromatic
#104020 #1C7139 #28A252 #39CE6C #6ADA91

Accessibility & contrast

On white

3.29
#28A252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#28A252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A252
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A252#FFFFFF#000000##000000
##28A2521.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944B
Deuteranopia (green-blind)
#958A58
Tritanopia (blue-blind)
#009F8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a252;
/* rgb */ color: rgb(40, 162, 82);
/* oklch */ color: oklch(62.8% 0.157 150.0);
Tailwind
colors: {
  custom: {
    50: '#75bf84',
    500: '#28a252',
    950: '#000000',
  },
}
SCSS
$custom: #28a252;
$custom-light: #75bf84;
$custom-dark: #000000;
JSON
{
  "hex": "#28a252",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 140.656,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62847,
    "c": 0.15725,
    "h": 150
  },
  "luminance": 0.26901
}

Semantic roles & 50–950 ramp

primary
#28A252
secondary
#C165A1
accent
#44ADE4
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #28A252

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

Preview Lab → · Contrast checker → · Palette generator →

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