#28AB2B#28AB2B

#28AB2B is a light, vivid green. Relative luminance 0.298; OKLCH L 64.8% C 0.198 H 143.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#28AB2B
RGBrgb(40, 171, 43)
HSLhsl(121, 62%, 41%)
HSVhsv(121, 77%, 67%)
CMYKcmyk(76.6%, 0%, 74.9%, 32.9%)
CIE-LABlab(61.44, -58.44, 52.67)
CIE-LCHlch(61.44, 78.67, 137.97°)
OKLaboklab(64.84% -0.1585 0.119)
OKLCHoklch(64.84% 0.198 143.1)
XYZxyz(15.8730, 29.7495, 7.1907)
Luminance0.2975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AB2B #AB28A8
analogous
#67AB28 #28AB2B #28AB6D
triadic
#28AB2B #2B28AB #AB2B28
tetradic
#28AB2B #2867AB #AB28A8 #AB6D28
square
#28AB2B #2867AB #AB28A8 #AB6D28
split-complementary
#28AB2B #6D28AB #AB2867
monochromatic
#114812 #1C791F #28AB2B #3ED242 #70DE72

Accessibility & contrast

On white

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

On black

6.95
#28AB2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28AB2B
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AB2B#FFFFFF#000000##000000
##28AB2B1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A11
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #28ab2b;
/* rgb */ color: rgb(40, 171, 43);
/* oklch */ color: oklch(64.8% 0.198 143.1);
Tailwind
colors: {
  custom: {
    50: '#79c56d',
    500: '#28ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #28ab2b;
$custom-light: #79c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#28ab2b",
  "rgb": {
    "r": 40,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 121.374,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.19818,
    "h": 143.1
  },
  "luminance": 0.29751
}

Semantic roles & 50–950 ramp

primary
#28AB2B
secondary
#C46AC2
accent
#43E1E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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