#2AAB28#2AAB28

#2AAB28 is a light, vivid green. Relative luminance 0.298; OKLCH L 64.9% C 0.199 H 142.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2AAB28
RGBrgb(42, 171, 40)
HSLhsl(119, 62%, 41%)
HSVhsv(119, 77%, 67%)
CMYKcmyk(75.4%, 0%, 76.6%, 32.9%)
CIE-LABlab(61.45, -58.36, 53.75)
CIE-LCHlch(61.45, 79.34, 137.35°)
OKLaboklab(64.86% -0.1585 0.1208)
OKLCHoklch(64.86% 0.199 142.7)
XYZxyz(15.8998, 29.7694, 6.9152)
Luminance0.2977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAB28 #A928AB
analogous
#6CAB28 #2AAB28 #28AB68
triadic
#2AAB28 #282AAB #AB282A
tetradic
#2AAB28 #286CAB #A928AB #AB6828
square
#2AAB28 #286CAB #A928AB #AB6828
split-complementary
#2AAB28 #6828AB #AB286C
monochromatic
#124811 #1E791C #2AAB28 #41D23E #72DE70

Accessibility & contrast

On white

3.02
#2AAB28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#2AAB28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AAB28
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAB28#FFFFFF#000000##000000
##2AAB281.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)
#A19137
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #2aab28;
/* rgb */ color: rgb(42, 171, 40);
/* oklch */ color: oklch(64.9% 0.199 142.7);
Tailwind
colors: {
  custom: {
    50: '#79c56c',
    500: '#2aab28',
    950: '#000000',
  },
}
SCSS
$custom: #2aab28;
$custom-light: #79c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#2aab28",
  "rgb": {
    "r": 42,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 119.084,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6486,
    "c": 0.19929,
    "h": 142.7
  },
  "luminance": 0.29771
}

Semantic roles & 50–950 ramp

primary
#2AAB28
secondary
#C36AC4
accent
#43E5E3
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AAB28

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

Preview Lab → · Contrast checker → · Palette generator →

#2AAB28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva