#17A040#17A040

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

Color values

HEX#17A040
RGBrgb(23, 160, 64)
HSLhsl(138, 75%, 36%)
HSVhsv(138, 86%, 63%)
CMYKcmyk(85.6%, 0%, 60%, 37.3%)
CIE-LABlab(57.74, -54.76, 39.77)
CIE-LCHlch(57.74, 67.68, 144.01°)
OKLaboklab(61.76% -0.147 0.0941)
OKLCHoklch(61.76% 0.175 147.4)
XYZxyz(13.8485, 25.6922, 9.0787)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17A040 #A01777
analogous
#33A017 #17A040 #17A084
triadic
#17A040 #4017A0 #A04017
tetradic
#17A040 #1733A0 #A01777 #A08417
square
#17A040 #1733A0 #A01777 #A08417
split-complementary
#17A040 #8417A0 #A01733
monochromatic
#083515 #0F6A2B #17A040 #1FD655 #4CE57A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17A040#FFFFFF#000000##000000
##17A0401.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)
#A29136
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #17a040;
/* rgb */ color: rgb(23, 160, 64);
/* oklch */ color: oklch(61.8% 0.175 147.4);
Tailwind
colors: {
  custom: {
    50: '#70bd78',
    500: '#17a040',
    950: '#000000',
  },
}
SCSS
$custom: #17a040;
$custom-light: #70bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#17a040",
  "rgb": {
    "r": 23,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 137.956,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61758,
    "c": 0.17455,
    "h": 147.4
  },
  "luminance": 0.25694
}

Semantic roles & 50–950 ramp

primary
#17A040
secondary
#C74CA2
accent
#36B9F1
background
#F7FBF7
surface
#EDF7ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #17A040

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

Preview Lab → · Contrast checker → · Palette generator →

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