#28AB40#28AB40

#28AB40 is a light, vivid green. Relative luminance 0.299; OKLCH L 65.0% C 0.184 H 145.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#28AB40
RGBrgb(40, 171, 64)
HSLhsl(131, 62%, 41%)
HSVhsv(131, 77%, 67%)
CMYKcmyk(76.6%, 0%, 62.6%, 32.9%)
CIE-LABlab(61.61, -56.37, 44.28)
CIE-LCHlch(61.61, 71.68, 141.85°)
OKLaboklab(65.04% -0.152 0.1037)
OKLCHoklch(65.04% 0.184 145.7)
XYZxyz(16.3622, 29.9452, 9.7672)
Luminance0.2995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AB40 #AB2893
analogous
#52AB28 #28AB40 #28AB82
triadic
#28AB40 #4028AB #AB4028
tetradic
#28AB40 #2852AB #AB2893 #AB8228
square
#28AB40 #2852AB #AB2893 #AB8228
split-complementary
#28AB40 #8228AB #AB2852
monochromatic
#11481B #1C792D #28AB40 #3ED259 #70DE84

Accessibility & contrast

On white

3.00
#28AB40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#28AB40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28AB40
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AB40#FFFFFF#000000##000000
##28AB401.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B34
Deuteranopia (green-blind)
#9F9149
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #28ab40;
/* rgb */ color: rgb(40, 171, 64);
/* oklch */ color: oklch(65.0% 0.184 145.7);
Tailwind
colors: {
  custom: {
    50: '#78c579',
    500: '#28ab40',
    950: '#000000',
  },
}
SCSS
$custom: #28ab40;
$custom-light: #78c579;
$custom-dark: #000000;
JSON
{
  "hex": "#28ab40",
  "rgb": {
    "r": 40,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 130.992,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65036,
    "c": 0.18398,
    "h": 145.7
  },
  "luminance": 0.29947
}

Semantic roles & 50–950 ramp

primary
#28AB40
secondary
#C46AB4
accent
#43C7E5
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #28AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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