#2AAF42#2AAF42

#2AAF42 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.187 H 145.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2AAF42
RGBrgb(42, 175, 66)
HSLhsl(131, 61%, 43%)
HSVhsv(131, 76%, 69%)
CMYKcmyk(76%, 0%, 62.3%, 31.4%)
CIE-LABlab(62.96, -57.18, 44.92)
CIE-LCHlch(62.96, 72.72, 141.85°)
OKLaboklab(66.18% -0.1542 0.1053)
OKLCHoklch(66.18% 0.187 145.7)
XYZxyz(17.2670, 31.5435, 10.3317)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF42 #AF2A97
analogous
#55AF2A #2AAF42 #2AAF84
triadic
#2AAF42 #422AAF #AF422A
tetradic
#2AAF42 #2A55AF #AF2A97 #AF842A
square
#2AAF42 #2A55AF #AF2A97 #AF842A
split-complementary
#2AAF42 #842AAF #AF2A55
monochromatic
#124C1D #1E7E2F #2AAF42 #44D25E #75DE88

Accessibility & contrast

On white

2.87
#2AAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#2AAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAF42
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAF42#FFFFFF#000000##000000
##2AAF421.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#A3944B
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2aaf42;
/* rgb */ color: rgb(42, 175, 66);
/* oklch */ color: oklch(66.2% 0.187 145.7);
Tailwind
colors: {
  custom: {
    50: '#79c87a',
    500: '#2aaf42',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf42;
$custom-light: #79c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf42",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 130.827,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66178,
    "c": 0.18668,
    "h": 145.7
  },
  "luminance": 0.31546
}

Semantic roles & 50–950 ramp

primary
#2AAF42
secondary
#C66FB6
accent
#43C7E4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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