#17701F#17701F

#17701F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.142 H 144.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#17701F
RGBrgb(23, 112, 31)
HSLhsl(125, 66%, 26%)
HSVhsv(125, 79%, 44%)
CMYKcmyk(79.5%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.01, -42.36, 36.25)
CIE-LCHlch(41.01, 55.75, 139.45°)
OKLaboklab(47.75% -0.1146 0.0831)
OKLCHoklch(47.75% 0.142 144)
XYZxyz(6.3944, 11.8687, 3.2499)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17701F #701768
analogous
#3C7017 #17701F #17704C
triadic
#17701F #1F1770 #701F17
tetradic
#17701F #173C70 #701768 #704C17
square
#17701F #173C70 #701768 #704C17
split-complementary
#17701F #4C1770 #70173C
monochromatic
#051907 #0D3D11 #17701F #21A32D #2DD43C

Accessibility & contrast

On white

6.22
#17701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#17701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17701F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17701F#FFFFFF#000000##FFFFFF
##17701F1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #17701f;
/* rgb */ color: rgb(23, 112, 31);
/* oklch */ color: oklch(47.8% 0.142 144.0);
Tailwind
colors: {
  custom: {
    50: '#659a5f',
    500: '#17701f',
    950: '#000000',
  },
}
SCSS
$custom: #17701f;
$custom-light: #659a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#17701f",
  "rgb": {
    "r": 23,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 125.393,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.14157,
    "h": 144
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#17701F
secondary
#A63D9C
accent
#3FDAE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #17701F

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

Preview Lab → · Contrast checker → · Palette generator →

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