#2AAB31#2AAB31

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

Color values

HEX#2AAB31
RGBrgb(42, 171, 49)
HSLhsl(123, 61%, 42%)
HSVhsv(123, 75%, 67%)
CMYKcmyk(75.4%, 0%, 71.3%, 32.9%)
CIE-LABlab(61.51, -57.63, 50.52)
CIE-LCHlch(61.51, 76.64, 138.76°)
OKLaboklab(64.93% -0.1561 0.1153)
OKLCHoklch(64.93% 0.194 143.6)
XYZxyz(16.0711, 29.8380, 7.8175)
Luminance0.2984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAB31 #AB2AA4
analogous
#64AB2A #2AAB31 #2AAB72
triadic
#2AAB31 #312AAB #AB312A
tetradic
#2AAB31 #2A64AB #AB2AA4 #AB722A
square
#2AAB31 #2A64AB #AB2AA4 #AB722A
split-complementary
#2AAB31 #722AAB #AB2A64
monochromatic
#124915 #1E7A23 #2AAB31 #42D149 #73DD79

Accessibility & contrast

On white

3.01
#2AAB31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#2AAB31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AAB31
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAB31#FFFFFF#000000##000000
##2AAB311.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1D
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2aab31;
/* rgb */ color: rgb(42, 171, 49);
/* oklch */ color: oklch(64.9% 0.194 143.6);
Tailwind
colors: {
  custom: {
    50: '#79c570',
    500: '#2aab31',
    950: '#000000',
  },
}
SCSS
$custom: #2aab31;
$custom-light: #79c570;
$custom-dark: #000000;
JSON
{
  "hex": "#2aab31",
  "rgb": {
    "r": 42,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 123.256,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64928,
    "c": 0.19404,
    "h": 143.6
  },
  "luminance": 0.2984
}

Semantic roles & 50–950 ramp

primary
#2AAB31
secondary
#C46DBF
accent
#44DBE4
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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