#28A827#28A827

#28A827 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#28A827
RGBrgb(40, 168, 39)
HSLhsl(120, 62%, 41%)
HSVhsv(120, 77%, 66%)
CMYKcmyk(76.2%, 0%, 76.8%, 34.1%)
CIE-LABlab(60.43, -57.78, 53.06)
CIE-LCHlch(60.43, 78.45, 137.44°)
OKLaboklab(63.99% -0.1569 0.1193)
OKLCHoklch(63.99% 0.197 142.8)
XYZxyz(15.2430, 28.6011, 6.6363)
Luminance0.2860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A827 #A727A8
analogous
#68A827 #28A827 #27A866
triadic
#28A827 #2728A8 #A82728
tetradic
#28A827 #2768A8 #A727A8 #A86627
square
#28A827 #2768A8 #A727A8 #A86627
split-complementary
#28A827 #6627A8 #A82768
monochromatic
#104510 #1C761B #28A827 #3CD13B #6DDD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A827#FFFFFF#000000##000000
##28A8271.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)
#AC9808
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a827;
/* rgb */ color: rgb(40, 168, 39);
/* oklch */ color: oklch(64.0% 0.197 142.8);
Tailwind
colors: {
  custom: {
    50: '#78c36b',
    500: '#28a827',
    950: '#000000',
  },
}
SCSS
$custom: #28a827;
$custom-light: #78c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#28a827",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 119.535,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63994,
    "c": 0.19706,
    "h": 142.8
  },
  "luminance": 0.28603
}

Semantic roles & 50–950 ramp

primary
#28A827
secondary
#C367C3
accent
#42E5E4
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #28A827

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

Preview Lab → · Contrast checker → · Palette generator →

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