#2A8D17#2A8D17

#2A8D17 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.174 H 141.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A8D17
RGBrgb(42, 141, 23)
HSLhsl(110, 72%, 32%)
HSVhsv(110, 84%, 55%)
CMYKcmyk(70.2%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.38, -49.52, 49.51)
CIE-LCHlch(51.38, 70.03, 135.01°)
OKLaboklab(56.47% -0.1354 0.1096)
OKLCHoklch(56.47% 0.174 141)
XYZxyz(10.6338, 19.6027, 4.0337)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D17 #7A178D
analogous
#658D17 #2A8D17 #178D3F
triadic
#2A8D17 #172A8D #8D172A
tetradic
#2A8D17 #17658D #7A178D #8D3F17
square
#2A8D17 #17658D #7A178D #8D3F17
split-complementary
#2A8D17 #3F178D #8D1765
monochromatic
#0B2406 #1A580E #2A8D17 #3AC220 #59E03F

Accessibility & contrast

On white

4.27
#2A8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2A8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D17#FFFFFF#000000##000000
##2A8D171.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#148878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8d17;
/* rgb */ color: rgb(42, 141, 23);
/* oklch */ color: oklch(56.5% 0.174 141.0);
Tailwind
colors: {
  custom: {
    50: '#73af60',
    500: '#2a8d17',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d17;
$custom-light: #73af60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d17",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 110.339,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.1742,
    "h": 141
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#2A8D17
secondary
#AB40C0
accent
#39EFD1
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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