#17742F#17742F

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

Color values

HEX#17742F
RGBrgb(23, 116, 47)
HSLhsl(135, 67%, 27%)
HSVhsv(135, 80%, 45%)
CMYKcmyk(80.2%, 0%, 59.5%, 54.5%)
CIE-LABlab(42.58, -41.80, 30.35)
CIE-LCHlch(42.58, 51.66, 144.02°)
OKLaboklab(49.11% -0.1124 0.0722)
OKLCHoklch(49.11% 0.134 147.3)
XYZxyz(7.1113, 12.8773, 4.7996)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17742F #74175C
analogous
#2E7417 #17742F #17745E
triadic
#17742F #2F1774 #742F17
tetradic
#17742F #172E74 #74175C #745E17
square
#17742F #172E74 #74175C #745E17
split-complementary
#17742F #5E1774 #74172E
monochromatic
#051A0A #0D411A #17742F #21A744 #30D65A

Accessibility & contrast

On white

5.87
#17742F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#17742F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17742F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17742F#FFFFFF#000000##FFFFFF
##17742F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17742f;
/* rgb */ color: rgb(23, 116, 47);
/* oklch */ color: oklch(49.1% 0.134 147.3);
Tailwind
colors: {
  custom: {
    50: '#659d6a',
    500: '#17742f',
    950: '#000000',
  },
}
SCSS
$custom: #17742f;
$custom-light: #659d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#17742f",
  "rgb": {
    "r": 23,
    "g": 116,
    "b": 47
  },
  "hsl": {
    "h": 135.484,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.13363,
    "h": 147.3
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#17742F
secondary
#A93D8E
accent
#3EBDEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #17742F

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

Preview Lab → · Contrast checker → · Palette generator →

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