#2AAC31#2AAC31

#2AAC31 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.2% C 0.195 H 143.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2AAC31
RGBrgb(42, 172, 49)
HSLhsl(123, 61%, 42%)
HSVhsv(123, 76%, 67%)
CMYKcmyk(75.6%, 0%, 71.5%, 32.5%)
CIE-LABlab(61.84, -57.95, 50.86)
CIE-LCHlch(61.84, 77.11, 138.73°)
OKLaboklab(65.2% -0.157 0.116)
OKLCHoklch(65.2% 0.195 143.5)
XYZxyz(16.2607, 30.2172, 7.8807)
Luminance0.3022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAC31 #AC2AA5
analogous
#64AC2A #2AAC31 #2AAC72
triadic
#2AAC31 #312AAC #AC312A
tetradic
#2AAC31 #2A64AC #AC2AA5 #AC722A
square
#2AAC31 #2A64AC #AC2AA5 #AC722A
split-complementary
#2AAC31 #722AAC #AC2A64
monochromatic
#124A15 #1E7B23 #2AAC31 #42D14A #73DD79

Accessibility & contrast

On white

2.98
#2AAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#2AAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAC31
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAC31#FFFFFF#000000##000000
##2AAC311.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B1D
Deuteranopia (green-blind)
#A1923D
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2aac31;
/* rgb */ color: rgb(42, 172, 49);
/* oklch */ color: oklch(65.2% 0.195 143.5);
Tailwind
colors: {
  custom: {
    50: '#79c670',
    500: '#2aac31',
    950: '#000000',
  },
}
SCSS
$custom: #2aac31;
$custom-light: #79c670;
$custom-dark: #000000;
JSON
{
  "hex": "#2aac31",
  "rgb": {
    "r": 42,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 123.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.652,
    "c": 0.19517,
    "h": 143.5
  },
  "luminance": 0.30219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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