#28A845#28A845

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

Color values

HEX#28A845
RGBrgb(40, 168, 69)
HSLhsl(134, 62%, 41%)
HSVhsv(134, 76%, 66%)
CMYKcmyk(76.2%, 0%, 58.9%, 34.1%)
CIE-LABlab(60.68, -54.72, 40.89)
CIE-LCHlch(60.68, 68.31, 143.23°)
OKLaboklab(64.28% -0.1473 0.0968)
OKLCHoklch(64.28% 0.176 146.7)
XYZxyz(15.9507, 28.8842, 10.3636)
Luminance0.2889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A845 #A8288B
analogous
#4BA828 #28A845 #28A885
triadic
#28A845 #4528A8 #A84528
tetradic
#28A845 #284BA8 #A8288B #A88528
square
#28A845 #284BA8 #A8288B #A88528
split-complementary
#28A845 #8528A8 #A8284B
monochromatic
#10451C #1C7731 #28A845 #3DD15E #6EDC87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A845#FFFFFF#000000##000000
##28A8451.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)
#AA983B
Deuteranopia (green-blind)
#9C8E4D
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a845;
/* rgb */ color: rgb(40, 168, 69);
/* oklch */ color: oklch(64.3% 0.176 146.7);
Tailwind
colors: {
  custom: {
    50: '#77c37c',
    500: '#28a845',
    950: '#000000',
  },
}
SCSS
$custom: #28a845;
$custom-light: #77c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a845",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 133.594,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64284,
    "c": 0.17631,
    "h": 146.7
  },
  "luminance": 0.28886
}

Semantic roles & 50–950 ramp

primary
#28A845
secondary
#C369AF
accent
#43C0E5
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #28A845

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

Preview Lab → · Contrast checker → · Palette generator →

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