#2A8E17#2A8E17

#2A8E17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.175 H 141.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A8E17
RGBrgb(42, 142, 23)
HSLhsl(110, 72%, 32%)
HSVhsv(110, 84%, 56%)
CMYKcmyk(70.4%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.72, -49.87, 49.82)
CIE-LCHlch(51.72, 70.49, 135.03°)
OKLaboklab(56.75% -0.1363 0.1102)
OKLCHoklch(56.75% 0.175 141)
XYZxyz(10.7819, 19.8990, 4.0831)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E17 #7B178E
analogous
#668E17 #2A8E17 #178E3F
triadic
#2A8E17 #172A8E #8E172A
tetradic
#2A8E17 #17668E #7B178E #8E3F17
square
#2A8E17 #17668E #7B178E #8E3F17
split-complementary
#2A8E17 #3F178E #8E1766
monochromatic
#0B2506 #1A590E #2A8E17 #3AC320 #59E03F

Accessibility & contrast

On white

4.22
#2A8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2A8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E17#FFFFFF#000000##000000
##2A8E171.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#148979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e17;
/* rgb */ color: rgb(42, 142, 23);
/* oklch */ color: oklch(56.7% 0.175 141.0);
Tailwind
colors: {
  custom: {
    50: '#74b060',
    500: '#2a8e17',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e17;
$custom-light: #74b060;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e17",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 110.42,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.17532,
    "h": 141
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#2A8E17
secondary
#AC40C0
accent
#39EFD2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2A8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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