#17742E#17742E

#17742E is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.135 H 147.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#17742E
RGBrgb(23, 116, 46)
HSLhsl(135, 67%, 27%)
HSVhsv(135, 80%, 45%)
CMYKcmyk(80.2%, 0%, 60.3%, 54.5%)
CIE-LABlab(42.57, -41.95, 30.85)
CIE-LCHlch(42.57, 52.07, 143.67°)
OKLaboklab(49.09% -0.1129 0.0732)
OKLCHoklch(49.09% 0.135 147)
XYZxyz(7.0913, 12.8694, 4.6945)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17742E #74175D
analogous
#2E7417 #17742E #17745D
triadic
#17742E #2E1774 #742E17
tetradic
#17742E #172E74 #74175D #745D17
square
#17742E #172E74 #74175D #745D17
split-complementary
#17742E #5D1774 #74172E
monochromatic
#051A0A #0D411A #17742E #21A742 #30D659

Accessibility & contrast

On white

5.88
#17742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#17742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17742E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17742E#FFFFFF#000000##FFFFFF
##17742E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #17742e;
/* rgb */ color: rgb(23, 116, 46);
/* oklch */ color: oklch(49.1% 0.135 147.0);
Tailwind
colors: {
  custom: {
    50: '#659d69',
    500: '#17742e',
    950: '#000000',
  },
}
SCSS
$custom: #17742e;
$custom-light: #659d69;
$custom-dark: #000000;
JSON
{
  "hex": "#17742e",
  "rgb": {
    "r": 23,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 134.839,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.13452,
    "h": 147
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#17742E
secondary
#A93D8F
accent
#3EBFEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #17742E

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

Preview Lab → · Contrast checker → · Palette generator →

#17742E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva