#28AB2C#28AB2C

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

Color values

HEX#28AB2C
RGBrgb(40, 171, 44)
HSLhsl(122, 62%, 41%)
HSVhsv(122, 77%, 67%)
CMYKcmyk(76.6%, 0%, 74.3%, 32.9%)
CIE-LABlab(61.44, -58.36, 52.32)
CIE-LCHlch(61.44, 78.38, 138.12°)
OKLaboklab(64.85% -0.1582 0.1184)
OKLCHoklch(64.85% 0.198 143.2)
XYZxyz(15.8916, 29.7569, 7.2885)
Luminance0.2976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AB2C #AB28A7
analogous
#66AB28 #28AB2C #28AB6E
triadic
#28AB2C #2C28AB #AB2C28
tetradic
#28AB2C #2866AB #AB28A7 #AB6E28
square
#28AB2C #2866AB #AB28A7 #AB6E28
split-complementary
#28AB2C #6E28AB #AB2866
monochromatic
#114812 #1C791F #28AB2C #3ED243 #70DE73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AB2C#FFFFFF#000000##000000
##28AB2C1.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)
#AF9A14
Deuteranopia (green-blind)
#A0903A
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #28ab2c;
/* rgb */ color: rgb(40, 171, 44);
/* oklch */ color: oklch(64.8% 0.198 143.2);
Tailwind
colors: {
  custom: {
    50: '#79c56d',
    500: '#28ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #28ab2c;
$custom-light: #79c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#28ab2c",
  "rgb": {
    "r": 40,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 121.832,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64849,
    "c": 0.19761,
    "h": 143.2
  },
  "luminance": 0.29759
}

Semantic roles & 50–950 ramp

primary
#28AB2C
secondary
#C46AC2
accent
#43E0E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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