#28AB2A#28AB2A

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

Color values

HEX#28AB2A
RGBrgb(40, 171, 42)
HSLhsl(121, 62%, 41%)
HSVhsv(121, 77%, 67%)
CMYKcmyk(76.6%, 0%, 75.4%, 32.9%)
CIE-LABlab(61.43, -58.52, 53.02)
CIE-LCHlch(61.43, 78.96, 137.82°)
OKLaboklab(64.83% -0.1587 0.1196)
OKLCHoklch(64.83% 0.199 143)
XYZxyz(15.8549, 29.7423, 7.0953)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AB2A #AB28A9
analogous
#68AB28 #28AB2A #28AB6C
triadic
#28AB2A #2A28AB #AB2A28
tetradic
#28AB2A #2868AB #AB28A9 #AB6C28
square
#28AB2A #2868AB #AB28A9 #AB6C28
split-complementary
#28AB2A #6C28AB #AB2868
monochromatic
#114812 #1C791E #28AB2A #3ED241 #70DE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AB2A#FFFFFF#000000##000000
##28AB2A1.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)
#AF9A0F
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #28ab2a;
/* rgb */ color: rgb(40, 171, 42);
/* oklch */ color: oklch(64.8% 0.199 143.0);
Tailwind
colors: {
  custom: {
    50: '#79c56d',
    500: '#28ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #28ab2a;
$custom-light: #79c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#28ab2a",
  "rgb": {
    "r": 40,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 120.916,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64834,
    "c": 0.19873,
    "h": 143
  },
  "luminance": 0.29744
}

Semantic roles & 50–950 ramp

primary
#28AB2A
secondary
#C46AC3
accent
#43E3E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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