#2AA02A#2AA02A

#2AA02A is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.186 H 142.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2AA02A
RGBrgb(42, 160, 42)
HSLhsl(120, 58%, 40%)
HSVhsv(120, 74%, 63%)
CMYKcmyk(73.8%, 0%, 73.8%, 37.3%)
CIE-LABlab(57.85, -54.60, 49.42)
CIE-LCHlch(57.85, 73.65, 137.86°)
OKLaboklab(61.87% -0.1482 0.112)
OKLCHoklch(61.87% 0.186 142.9)
XYZxyz(13.9427, 25.7994, 6.4350)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA02A #A02AA0
analogous
#65A02A #2AA02A #2AA065
triadic
#2AA02A #2A2AA0 #A02A2A
tetradic
#2AA02A #2A65A0 #A02AA0 #A0652A
square
#2AA02A #2A65A0 #A02AA0 #A0652A
split-complementary
#2AA02A #652AA0 #A02A65
monochromatic
#113F11 #1D701D #2AA02A #3CCC3C #6CD86C

Accessibility & contrast

On white

3.41
#2AA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#2AA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA02A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA02A#FFFFFF#000000##000000
##2AA02A1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49115
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2aa02a;
/* rgb */ color: rgb(42, 160, 42);
/* oklch */ color: oklch(61.9% 0.186 142.9);
Tailwind
colors: {
  custom: {
    50: '#77bd6b',
    500: '#2aa02a',
    950: '#000000',
  },
}
SCSS
$custom: #2aa02a;
$custom-light: #77bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa02a",
  "rgb": {
    "r": 42,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61867,
    "c": 0.18582,
    "h": 142.9
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#2AA02A
secondary
#BF67BF
accent
#46E2E2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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