#17701B#17701B

#17701B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.144 H 143.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#17701B
RGBrgb(23, 112, 27)
HSLhsl(123, 66%, 26%)
HSVhsv(123, 79%, 44%)
CMYKcmyk(79.5%, 0%, 75.9%, 56.1%)
CIE-LABlab(40.98, -42.75, 37.90)
CIE-LCHlch(40.98, 57.13, 138.44°)
OKLaboklab(47.71% -0.1158 0.0861)
OKLCHoklch(47.71% 0.144 143.4)
XYZxyz(6.3449, 11.8489, 2.9894)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17701B #70176C
analogous
#407017 #17701B #177048
triadic
#17701B #1B1770 #701B17
tetradic
#17701B #174070 #70176C #704817
square
#17701B #174070 #70176C #704817
split-complementary
#17701B #481770 #701740
monochromatic
#051906 #0D3D0F #17701B #21A327 #2DD435

Accessibility & contrast

On white

6.23
#17701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #17701B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17701B#FFFFFF#000000##FFFFFF
##17701B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650C
Deuteranopia (green-blind)
#695E24
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #17701b;
/* rgb */ color: rgb(23, 112, 27);
/* oklch */ color: oklch(47.7% 0.144 143.4);
Tailwind
colors: {
  custom: {
    50: '#659a5d',
    500: '#17701b',
    950: '#000000',
  },
}
SCSS
$custom: #17701b;
$custom-light: #659a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#17701b",
  "rgb": {
    "r": 23,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 122.697,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.14432,
    "h": 143.4
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#17701B
secondary
#A63DA1
accent
#3FE1E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #17701B

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

Preview Lab → · Contrast checker → · Palette generator →

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