#2AA42F#2AA42F

#2AA42F is a light, vivid green. Relative luminance 0.272; OKLCH L 63.0% C 0.187 H 143.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2AA42F
RGBrgb(42, 164, 47)
HSLhsl(122, 59%, 40%)
HSVhsv(122, 74%, 64%)
CMYKcmyk(74.4%, 0%, 71.3%, 35.7%)
CIE-LABlab(59.20, -55.50, 48.89)
CIE-LCHlch(59.20, 73.96, 138.62°)
OKLaboklab(63% -0.1504 0.1116)
OKLCHoklch(63% 0.187 143.4)
XYZxyz(14.7425, 27.2467, 7.1710)
Luminance0.2725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA42F #A42A9F
analogous
#62A42A #2AA42F #2AA46C
triadic
#2AA42F #2F2AA4 #A42F2A
tetradic
#2AA42F #2A62A4 #A42A9F #A46C2A
square
#2AA42F #2A62A4 #A42A9F #A46C2A
split-complementary
#2AA42F #6C2AA4 #A42A62
monochromatic
#114313 #1E7321 #2AA42F #3ECD44 #6EDA73

Accessibility & contrast

On white

3.26
#2AA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#2AA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA42F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA42F#FFFFFF#000000##000000
##2AA42F1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#9A8B3B
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2aa42f;
/* rgb */ color: rgb(42, 164, 47);
/* oklch */ color: oklch(63.0% 0.187 143.4);
Tailwind
colors: {
  custom: {
    50: '#77c06e',
    500: '#2aa42f',
    950: '#000000',
  },
}
SCSS
$custom: #2aa42f;
$custom-light: #77c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa42f",
  "rgb": {
    "r": 42,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 122.459,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.18729,
    "h": 143.4
  },
  "luminance": 0.27248
}

Semantic roles & 50–950 ramp

primary
#2AA42F
secondary
#C169BD
accent
#45DCE2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2AA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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