#2AA017#2AA017

#2AA017 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.195 H 141.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2AA017
RGBrgb(42, 160, 23)
HSLhsl(112, 75%, 36%)
HSVhsv(112, 86%, 63%)
CMYKcmyk(73.8%, 0%, 85.6%, 37.3%)
CIE-LABlab(57.75, -55.84, 55.29)
CIE-LCHlch(57.75, 78.59, 135.28°)
OKLaboklab(61.75% -0.1524 0.1217)
OKLCHoklch(61.75% 0.195 141.4)
XYZxyz(13.6795, 25.6942, 5.0490)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA017 #8D17A0
analogous
#6EA017 #2AA017 #17A048
triadic
#2AA017 #172AA0 #A0172A
tetradic
#2AA017 #176EA0 #8D17A0 #A04817
square
#2AA017 #176EA0 #8D17A0 #A04817
split-complementary
#2AA017 #4817A0 #A0176E
monochromatic
#0E3508 #1C6A0F #2AA017 #38D61F #61E54C

Accessibility & contrast

On white

3.42
#2AA017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#2AA017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA017
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA017#FFFFFF#000000##000000
##2AA0171.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#029B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2aa017;
/* rgb */ color: rgb(42, 160, 23);
/* oklch */ color: oklch(61.8% 0.195 141.4);
Tailwind
colors: {
  custom: {
    50: '#78bd63',
    500: '#2aa017',
    950: '#000000',
  },
}
SCSS
$custom: #2aa017;
$custom-light: #78bd63;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa017",
  "rgb": {
    "r": 42,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 111.679,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61751,
    "c": 0.19506,
    "h": 141.4
  },
  "luminance": 0.25696
}

Semantic roles & 50–950 ramp

primary
#2AA017
secondary
#B64CC7
accent
#36F1D8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2AA017

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

Preview Lab → · Contrast checker → · Palette generator →

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