#28A020#28A020

#28A020 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.192 H 142.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#28A020
RGBrgb(40, 160, 32)
HSLhsl(116, 67%, 38%)
HSVhsv(116, 80%, 63%)
CMYKcmyk(75%, 0%, 80%, 37.3%)
CIE-LABlab(57.75, -55.68, 52.76)
CIE-LCHlch(57.75, 76.70, 136.54°)
OKLaboklab(61.75% -0.1515 0.1177)
OKLCHoklch(61.75% 0.192 142.2)
XYZxyz(13.7058, 25.6955, 5.6036)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A020 #9820A0
analogous
#68A020 #28A020 #20A058
triadic
#28A020 #2028A0 #A02028
tetradic
#28A020 #2068A0 #9820A0 #A05820
square
#28A020 #2068A0 #9820A0 #A05820
split-complementary
#28A020 #5820A0 #A02068
monochromatic
#0E3A0C #1B6D16 #28A020 #35D32A #64DE5C

Accessibility & contrast

On white

3.42
#28A020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#28A020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A020
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A020#FFFFFF#000000##000000
##28A0201.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a020;
/* rgb */ color: rgb(40, 160, 32);
/* oklch */ color: oklch(61.8% 0.192 142.2);
Tailwind
colors: {
  custom: {
    50: '#77bd66',
    500: '#28a020',
    950: '#000000',
  },
}
SCSS
$custom: #28a020;
$custom-light: #77bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#28a020",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 116.25,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61754,
    "c": 0.19182,
    "h": 142.2
  },
  "luminance": 0.25697
}

Semantic roles & 50–950 ramp

primary
#28A020
secondary
#BC59C3
accent
#3EEADF
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #28A020

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

Preview Lab → · Contrast checker → · Palette generator →

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