#176717#176717

#176717 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.136 H 142.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#176717
RGBrgb(23, 103, 23)
HSLhsl(120, 63%, 25%)
HSVhsv(120, 78%, 40%)
CMYKcmyk(77.7%, 0%, 77.7%, 59.6%)
CIE-LABlab(37.74, -39.93, 36.21)
CIE-LCHlch(37.74, 53.91, 137.79°)
OKLaboklab(45.02% -0.1084 0.082)
OKLCHoklch(45.02% 0.136 142.9)
XYZxyz(5.3579, 9.9439, 2.4474)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176717 #671767
analogous
#3F6717 #176717 #17673F
triadic
#176717 #171767 #671717
tetradic
#176717 #173F67 #671767 #673F17
square
#176717 #173F67 #671767 #673F17
split-complementary
#176717 #3F1767 #67173F
monochromatic
#061906 #0C350C #176717 #229922 #2DCB2D

Accessibility & contrast

On white

7.03
#176717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#176717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #176717
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176717#FFFFFF#000000##FFFFFF
##1767171.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #176717;
/* rgb */ color: rgb(23, 103, 23);
/* oklch */ color: oklch(45.0% 0.136 142.9);
Tailwind
colors: {
  custom: {
    50: '#63935a',
    500: '#176717',
    950: '#000000',
  },
}
SCSS
$custom: #176717;
$custom-light: #63935a;
$custom-dark: #000000;
JSON
{
  "hex": "#176717",
  "rgb": {
    "r": 23,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45018,
    "c": 0.1359,
    "h": 142.9
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#176717
secondary
#9D3D9D
accent
#41E7E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176717

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

Preview Lab → · Contrast checker → · Palette generator →

#176717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva