#28A820#28A820

#28A820 is a light, highly saturated green. Relative luminance 0.286; OKLCH L 64.0% C 0.201 H 142.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#28A820
RGBrgb(40, 168, 32)
HSLhsl(116, 68%, 39%)
HSVhsv(116, 81%, 66%)
CMYKcmyk(76.2%, 0%, 81%, 34.1%)
CIE-LABlab(60.39, -58.24, 55.26)
CIE-LCHlch(60.39, 80.29, 136.51°)
OKLaboklab(63.95% -0.1584 0.1229)
OKLCHoklch(63.95% 0.201 142.2)
XYZxyz(15.1375, 28.5589, 6.0809)
Luminance0.2856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A820 #A020A8
analogous
#6CA820 #28A820 #20A85C
triadic
#28A820 #2028A8 #A82028
tetradic
#28A820 #206CA8 #A020A8 #A85C20
square
#28A820 #206CA8 #A020A8 #A85C20
split-complementary
#28A820 #5C20A8 #A8206C
monochromatic
#10410C #1C7516 #28A820 #38D72E #69E161

Accessibility & contrast

On white

3.13
#28A820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#28A820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A820
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A820#FFFFFF#000000##000000
##28A8201.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a820;
/* rgb */ color: rgb(40, 168, 32);
/* oklch */ color: oklch(64.0% 0.201 142.2);
Tailwind
colors: {
  custom: {
    50: '#78c368',
    500: '#28a820',
    950: '#000000',
  },
}
SCSS
$custom: #28a820;
$custom-light: #78c368;
$custom-dark: #000000;
JSON
{
  "hex": "#28a820",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 116.471,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63951,
    "c": 0.20051,
    "h": 142.2
  },
  "luminance": 0.28561
}

Semantic roles & 50–950 ramp

primary
#28A820
secondary
#C05EC6
accent
#3DEBE1
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28A820

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

Preview Lab → · Contrast checker → · Palette generator →

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