#2AA02B#2AA02B

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

Color values

HEX#2AA02B
RGBrgb(42, 160, 43)
HSLhsl(121, 58%, 40%)
HSVhsv(121, 74%, 63%)
CMYKcmyk(73.8%, 0%, 73.1%, 37.3%)
CIE-LABlab(57.85, -54.52, 49.05)
CIE-LCHlch(57.85, 73.33, 138.03°)
OKLaboklab(61.88% -0.148 0.1114)
OKLCHoklch(61.88% 0.185 143)
XYZxyz(13.9608, 25.8067, 6.5305)
Luminance0.2581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA02B #A02A9F
analogous
#64A02A #2AA02B #2AA066
triadic
#2AA02B #2B2AA0 #A02B2A
tetradic
#2AA02B #2A64A0 #A02A9F #A0662A
square
#2AA02B #2A64A0 #A02A9F #A0662A
split-complementary
#2AA02B #662AA0 #A02A64
monochromatic
#113F11 #1D701E #2AA02B #3CCC3D #6CD86D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AA02B#FFFFFF#000000##000000
##2AA02B1.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)
#A39117
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2aa02b;
/* rgb */ color: rgb(42, 160, 43);
/* oklch */ color: oklch(61.9% 0.185 143.0);
Tailwind
colors: {
  custom: {
    50: '#77bd6c',
    500: '#2aa02b',
    950: '#000000',
  },
}
SCSS
$custom: #2aa02b;
$custom-light: #77bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa02b",
  "rgb": {
    "r": 42,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 120.508,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61875,
    "c": 0.18521,
    "h": 143
  },
  "luminance": 0.25808
}

Semantic roles & 50–950 ramp

primary
#2AA02B
secondary
#BF67BE
accent
#46E0E2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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