#28A822#28A822

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

Color values

HEX#28A822
RGBrgb(40, 168, 34)
HSLhsl(117, 66%, 40%)
HSVhsv(117, 80%, 66%)
CMYKcmyk(76.2%, 0%, 79.8%, 34.1%)
CIE-LABlab(60.40, -58.12, 54.66)
CIE-LCHlch(60.40, 79.79, 136.76°)
OKLaboklab(63.96% -0.158 0.1219)
OKLCHoklch(63.96% 0.2 142.4)
XYZxyz(15.1655, 28.5701, 6.2284)
Luminance0.2857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A822 #A222A8
analogous
#6BA822 #28A822 #22A85F
triadic
#28A822 #2228A8 #A82228
tetradic
#28A822 #226BA8 #A222A8 #A85F22
square
#28A822 #226BA8 #A222A8 #A85F22
split-complementary
#28A822 #5F22A8 #A8226B
monochromatic
#10420D #1C7518 #28A822 #39D532 #6AE065

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A822#FFFFFF#000000##000000
##28A8221.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)
#9E8E32
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a822;
/* rgb */ color: rgb(40, 168, 34);
/* oklch */ color: oklch(64.0% 0.200 142.4);
Tailwind
colors: {
  custom: {
    50: '#78c368',
    500: '#28a822',
    950: '#000000',
  },
}
SCSS
$custom: #28a822;
$custom-light: #78c368;
$custom-dark: #000000;
JSON
{
  "hex": "#28a822",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 117.313,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63963,
    "c": 0.19959,
    "h": 142.4
  },
  "luminance": 0.28572
}

Semantic roles & 50–950 ramp

primary
#28A822
secondary
#C161C5
accent
#3FE9E2
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28A822

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

Preview Lab → · Contrast checker → · Palette generator →

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