#28A732#28A732

#28A732 is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.189 H 143.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#28A732
RGBrgb(40, 167, 50)
HSLhsl(125, 61%, 41%)
HSVhsv(125, 76%, 65%)
CMYKcmyk(76%, 0%, 70.1%, 34.5%)
CIE-LABlab(60.17, -56.53, 48.71)
CIE-LCHlch(60.17, 74.62, 139.25°)
OKLaboklab(63.81% -0.153 0.1116)
OKLCHoklch(63.81% 0.189 143.9)
XYZxyz(15.2685, 28.3171, 7.6780)
Luminance0.2832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A732 #A7289D
analogous
#5EA728 #28A732 #28A771
triadic
#28A732 #3228A7 #A73228
tetradic
#28A732 #285EA7 #A7289D #A77128
square
#28A732 #285EA7 #A7289D #A77128
split-complementary
#28A732 #7128A7 #A7285E
monochromatic
#104414 #1C7623 #28A732 #3CD048 #6DDC76

Accessibility & contrast

On white

3.15
#28A732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#28A732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A732
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A732#FFFFFF#000000##000000
##28A7321.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9721
Deuteranopia (green-blind)
#9C8D3D
Tritanopia (blue-blind)
#00A290
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #28a732;
/* rgb */ color: rgb(40, 167, 50);
/* oklch */ color: oklch(63.8% 0.189 143.9);
Tailwind
colors: {
  custom: {
    50: '#77c270',
    500: '#28a732',
    950: '#000000',
  },
}
SCSS
$custom: #28a732;
$custom-light: #77c270;
$custom-dark: #000000;
JSON
{
  "hex": "#28a732",
  "rgb": {
    "r": 40,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 124.724,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63807,
    "c": 0.18936,
    "h": 143.9
  },
  "luminance": 0.28319
}

Semantic roles & 50–950 ramp

primary
#28A732
secondary
#C368BC
accent
#43D8E4
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #28A732

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

Preview Lab → · Contrast checker → · Palette generator →

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