#2AA02F#2AA02F

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

Color values

HEX#2AA02F
RGBrgb(42, 160, 47)
HSLhsl(123, 58%, 40%)
HSVhsv(123, 74%, 63%)
CMYKcmyk(73.8%, 0%, 70.6%, 37.3%)
CIE-LABlab(57.88, -54.16, 47.51)
CIE-LCHlch(57.88, 72.05, 138.74°)
OKLaboklab(61.91% -0.1468 0.1087)
OKLCHoklch(61.91% 0.183 143.5)
XYZxyz(14.0379, 25.8375, 6.9361)
Luminance0.2584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA02F #A02A9B
analogous
#60A02A #2AA02F #2AA06A
triadic
#2AA02F #2F2AA0 #A02F2A
tetradic
#2AA02F #2A60A0 #A02A9B #A06A2A
square
#2AA02F #2A60A0 #A02A9B #A06A2A
split-complementary
#2AA02F #6A2AA0 #A02A60
monochromatic
#113F13 #1D7021 #2AA02F #3CCC42 #6CD871

Accessibility & contrast

On white

3.40
#2AA02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2AA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA02F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA02F#FFFFFF#000000##000000
##2AA02F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911E
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2aa02f;
/* rgb */ color: rgb(42, 160, 47);
/* oklch */ color: oklch(61.9% 0.183 143.5);
Tailwind
colors: {
  custom: {
    50: '#77bd6e',
    500: '#2aa02f',
    950: '#000000',
  },
}
SCSS
$custom: #2aa02f;
$custom-light: #77bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa02f",
  "rgb": {
    "r": 42,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 122.542,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61908,
    "c": 0.18265,
    "h": 143.5
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#2AA02F
secondary
#BF67BB
accent
#46DBE2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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