#17A042#17A042

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

Color values

HEX#17A042
RGBrgb(23, 160, 66)
HSLhsl(139, 75%, 36%)
HSVhsv(139, 86%, 63%)
CMYKcmyk(85.6%, 0%, 58.8%, 37.3%)
CIE-LABlab(57.77, -54.49, 38.84)
CIE-LCHlch(57.77, 66.91, 144.52°)
OKLaboklab(61.78% -0.1463 0.0922)
OKLCHoklch(61.78% 0.173 147.8)
XYZxyz(13.9064, 25.7154, 9.3838)
Luminance0.2572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17A042 #A01775
analogous
#31A017 #17A042 #17A086
triadic
#17A042 #4217A0 #A04217
tetradic
#17A042 #1731A0 #A01775 #A08617
square
#17A042 #1731A0 #A01775 #A08617
split-complementary
#17A042 #8617A0 #A01731
monochromatic
#083516 #0F6A2C #17A042 #1FD658 #4CE57C

Accessibility & contrast

On white

3.42
#17A042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#17A042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #17A042
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17A042#FFFFFF#000000##000000
##17A0421.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)
#A29139
Deuteranopia (green-blind)
#93874A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #17a042;
/* rgb */ color: rgb(23, 160, 66);
/* oklch */ color: oklch(61.8% 0.173 147.8);
Tailwind
colors: {
  custom: {
    50: '#70bd79',
    500: '#17a042',
    950: '#000000',
  },
}
SCSS
$custom: #17a042;
$custom-light: #70bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#17a042",
  "rgb": {
    "r": 23,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 138.832,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61784,
    "c": 0.1729,
    "h": 147.8
  },
  "luminance": 0.25717
}

Semantic roles & 50–950 ramp

primary
#17A042
secondary
#C74CA0
accent
#36B7F1
background
#F7FBF7
surface
#EDF7ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #17A042

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

Preview Lab → · Contrast checker → · Palette generator →

#17A042 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva