#28A847#28A847

#28A847 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.175 H 147.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#28A847
RGBrgb(40, 168, 71)
HSLhsl(135, 62%, 41%)
HSVhsv(135, 76%, 66%)
CMYKcmyk(76.2%, 0%, 57.7%, 34.1%)
CIE-LABlab(60.70, -54.45, 39.96)
CIE-LCHlch(60.70, 67.54, 143.73°)
OKLaboklab(64.31% -0.1466 0.095)
OKLCHoklch(64.31% 0.175 147.1)
XYZxyz(16.0138, 28.9094, 10.6961)
Luminance0.2891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A847 #A82889
analogous
#49A828 #28A847 #28A887
triadic
#28A847 #4728A8 #A84728
tetradic
#28A847 #2849A8 #A82889 #A88728
square
#28A847 #2849A8 #A82889 #A88728
split-complementary
#28A847 #8728A8 #A82849
monochromatic
#10451D #1C7732 #28A847 #3DD160 #6EDC89

Accessibility & contrast

On white

3.10
#28A847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#28A847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A847
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A847#FFFFFF#000000##000000
##28A8471.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA993D
Deuteranopia (green-blind)
#9C8E4F
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a847;
/* rgb */ color: rgb(40, 168, 71);
/* oklch */ color: oklch(64.3% 0.175 147.1);
Tailwind
colors: {
  custom: {
    50: '#77c37d',
    500: '#28a847',
    950: '#000000',
  },
}
SCSS
$custom: #28a847;
$custom-light: #77c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a847",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 71
  },
  "hsl": {
    "h": 134.531,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64309,
    "c": 0.17465,
    "h": 147.1
  },
  "luminance": 0.28911
}

Semantic roles & 50–950 ramp

primary
#28A847
secondary
#C369AD
accent
#43BEE5
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #28A847

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

Preview Lab → · Contrast checker → · Palette generator →

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