#28AB31#28AB31

#28AB31 is a light, vivid green. Relative luminance 0.298; OKLCH L 64.9% C 0.195 H 143.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#28AB31
RGBrgb(40, 171, 49)
HSLhsl(124, 62%, 41%)
HSVhsv(124, 77%, 67%)
CMYKcmyk(76.6%, 0%, 71.3%, 32.9%)
CIE-LABlab(61.48, -57.93, 50.47)
CIE-LCHlch(61.48, 76.83, 138.94°)
OKLaboklab(64.89% -0.1568 0.1152)
OKLCHoklch(64.89% 0.195 143.7)
XYZxyz(15.9913, 29.7968, 7.8137)
Luminance0.2980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AB31 #AB28A2
analogous
#61AB28 #28AB31 #28AB73
triadic
#28AB31 #3128AB #AB3128
tetradic
#28AB31 #2861AB #AB28A2 #AB7328
square
#28AB31 #2861AB #AB28A2 #AB7328
split-complementary
#28AB31 #7328AB #AB2861
monochromatic
#114815 #1C7923 #28AB31 #3ED248 #70DE77

Accessibility & contrast

On white

3.02
#28AB31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#28AB31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28AB31
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AB31#FFFFFF#000000##000000
##28AB311.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1E
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #28ab31;
/* rgb */ color: rgb(40, 171, 49);
/* oklch */ color: oklch(64.9% 0.195 143.7);
Tailwind
colors: {
  custom: {
    50: '#78c570',
    500: '#28ab31',
    950: '#000000',
  },
}
SCSS
$custom: #28ab31;
$custom-light: #78c570;
$custom-dark: #000000;
JSON
{
  "hex": "#28ab31",
  "rgb": {
    "r": 40,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 124.122,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64888,
    "c": 0.19458,
    "h": 143.7
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#28AB31
secondary
#C46ABE
accent
#43DAE5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #28AB31

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

Preview Lab → · Contrast checker → · Palette generator →

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