#28A828#28A828

#28A828 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.0% C 0.197 H 142.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#28A828
RGBrgb(40, 168, 40)
HSLhsl(120, 62%, 41%)
HSVhsv(120, 76%, 66%)
CMYKcmyk(76.2%, 0%, 76.2%, 34.1%)
CIE-LABlab(60.43, -57.70, 52.73)
CIE-LCHlch(60.43, 78.17, 137.58°)
OKLaboklab(64% -0.1566 0.1187)
OKLCHoklch(64% 0.197 142.8)
XYZxyz(15.2598, 28.6078, 6.7247)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A828 #A828A8
analogous
#68A828 #28A828 #28A868
triadic
#28A828 #2828A8 #A82828
tetradic
#28A828 #2868A8 #A828A8 #A86828
square
#28A828 #2868A8 #A828A8 #A86828
split-complementary
#28A828 #6828A8 #A82868
monochromatic
#104510 #1C771C #28A828 #3DD13D #6EDC6E

Accessibility & contrast

On white

3.12
#28A828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#28A828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A828
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A828#FFFFFF#000000##000000
##28A8281.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980B
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a828;
/* rgb */ color: rgb(40, 168, 40);
/* oklch */ color: oklch(64.0% 0.197 142.8);
Tailwind
colors: {
  custom: {
    50: '#78c36b',
    500: '#28a828',
    950: '#000000',
  },
}
SCSS
$custom: #28a828;
$custom-light: #78c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#28a828",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64001,
    "c": 0.19653,
    "h": 142.8
  },
  "luminance": 0.2861
}

Semantic roles & 50–950 ramp

primary
#28A828
secondary
#C369C3
accent
#43E5E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #28A828

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

Preview Lab → · Contrast checker → · Palette generator →

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