#28AB28#28AB28

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

Color values

HEX#28AB28
RGBrgb(40, 171, 40)
HSLhsl(120, 62%, 41%)
HSVhsv(120, 77%, 67%)
CMYKcmyk(76.6%, 0%, 76.6%, 32.9%)
CIE-LABlab(61.42, -58.66, 53.70)
CIE-LCHlch(61.42, 79.53, 137.53°)
OKLaboklab(64.82% -0.1592 0.1207)
OKLCHoklch(64.82% 0.2 142.8)
XYZxyz(15.8200, 29.7283, 6.9115)
Luminance0.2973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AB28 #AB28AB
analogous
#6AAB28 #28AB28 #28AB6A
triadic
#28AB28 #2828AB #AB2828
tetradic
#28AB28 #286AAB #AB28AB #AB6A28
square
#28AB28 #286AAB #AB28AB #AB6A28
split-complementary
#28AB28 #6A28AB #AB286A
monochromatic
#114811 #1C791C #28AB28 #3ED23E #70DE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AB28#FFFFFF#000000##000000
##28AB281.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)
#AF9A09
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #28ab28;
/* rgb */ color: rgb(40, 171, 40);
/* oklch */ color: oklch(64.8% 0.200 142.8);
Tailwind
colors: {
  custom: {
    50: '#79c56c',
    500: '#28ab28',
    950: '#000000',
  },
}
SCSS
$custom: #28ab28;
$custom-light: #79c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#28ab28",
  "rgb": {
    "r": 40,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6482,
    "c": 0.19983,
    "h": 142.8
  },
  "luminance": 0.2973
}

Semantic roles & 50–950 ramp

primary
#28AB28
secondary
#C46AC4
accent
#43E5E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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