#17742A#17742A

#17742A is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.138 H 146.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#17742A
RGBrgb(23, 116, 42)
HSLhsl(132, 67%, 27%)
HSVhsv(132, 80%, 45%)
CMYKcmyk(80.2%, 0%, 63.8%, 54.5%)
CIE-LABlab(42.52, -42.50, 32.80)
CIE-LCHlch(42.52, 53.68, 142.34°)
OKLaboklab(49.04% -0.1145 0.0771)
OKLCHoklch(49.04% 0.138 146.1)
XYZxyz(7.0161, 12.8393, 4.2985)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17742A #741761
analogous
#337417 #17742A #177459
triadic
#17742A #2A1774 #742A17
tetradic
#17742A #173374 #741761 #745917
square
#17742A #173374 #741761 #745917
split-complementary
#17742A #591774 #741733
monochromatic
#051A09 #0D4118 #17742A #21A73C #30D652

Accessibility & contrast

On white

5.89
#17742A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #17742A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17742A#FFFFFF#000000##FFFFFF
##17742A1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766922
Deuteranopia (green-blind)
#6B6230
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #17742a;
/* rgb */ color: rgb(23, 116, 42);
/* oklch */ color: oklch(49.0% 0.138 146.1);
Tailwind
colors: {
  custom: {
    50: '#659d66',
    500: '#17742a',
    950: '#000000',
  },
}
SCSS
$custom: #17742a;
$custom-light: #659d66;
$custom-dark: #000000;
JSON
{
  "hex": "#17742a",
  "rgb": {
    "r": 23,
    "g": 116,
    "b": 42
  },
  "hsl": {
    "h": 132.258,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.138,
    "h": 146.1
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#17742A
secondary
#A93D93
accent
#3EC7EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #17742A

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

Preview Lab → · Contrast checker → · Palette generator →

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