#2AAA31#2AAA31

#2AAA31 is a light, vivid green. Relative luminance 0.295; OKLCH L 64.7% C 0.193 H 143.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2AAA31
RGBrgb(42, 170, 49)
HSLhsl(123, 60%, 42%)
HSVhsv(123, 75%, 67%)
CMYKcmyk(75.3%, 0%, 71.2%, 33.3%)
CIE-LABlab(61.19, -57.30, 50.18)
CIE-LCHlch(61.19, 76.17, 138.79°)
OKLaboklab(64.66% -0.1552 0.1145)
OKLCHoklch(64.66% 0.193 143.6)
XYZxyz(15.8829, 29.4616, 7.7547)
Luminance0.2946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAA31 #AA2AA3
analogous
#63AA2A #2AAA31 #2AAA71
triadic
#2AAA31 #312AAA #AA312A
tetradic
#2AAA31 #2A63AA #AA2AA3 #AA712A
square
#2AAA31 #2A63AA #AA2AA3 #AA712A
split-complementary
#2AAA31 #712AAA #AA2A63
monochromatic
#124815 #1E7923 #2AAA31 #41D049 #72DC78

Accessibility & contrast

On white

3.05
#2AAA31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#2AAA31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AAA31
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAA31#FFFFFF#000000##000000
##2AAA311.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1E
Deuteranopia (green-blind)
#9F903D
Tritanopia (blue-blind)
#00A592
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #2aaa31;
/* rgb */ color: rgb(42, 170, 49);
/* oklch */ color: oklch(64.7% 0.193 143.6);
Tailwind
colors: {
  custom: {
    50: '#79c470',
    500: '#2aaa31',
    950: '#000000',
  },
}
SCSS
$custom: #2aaa31;
$custom-light: #79c470;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaa31",
  "rgb": {
    "r": 42,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 123.281,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.19291,
    "h": 143.6
  },
  "luminance": 0.29463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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