#176F1F#176F1F

#176F1F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.140 H 144.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#176F1F
RGBrgb(23, 111, 31)
HSLhsl(125, 66%, 26%)
HSVhsv(125, 79%, 44%)
CMYKcmyk(79.3%, 0%, 72.1%, 56.5%)
CIE-LABlab(40.65, -42.01, 35.87)
CIE-LCHlch(40.65, 55.24, 139.51°)
OKLaboklab(47.46% -0.1136 0.0824)
OKLCHoklch(47.46% 0.14 144.1)
XYZxyz(6.2847, 11.6492, 3.2134)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F1F #6F1767
analogous
#3B6F17 #176F1F #176F4B
triadic
#176F1F #1F176F #6F1F17
tetradic
#176F1F #173B6F #6F1767 #6F4B17
square
#176F1F #173B6F #6F1767 #6F4B17
split-complementary
#176F1F #4B176F #6F173B
monochromatic
#051907 #0C3C11 #176F1F #22A22D #2DD33C

Accessibility & contrast

On white

6.31
#176F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#176F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F1F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F1F#FFFFFF#000000##FFFFFF
##176F1F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716413
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f1f;
/* rgb */ color: rgb(23, 111, 31);
/* oklch */ color: oklch(47.5% 0.140 144.1);
Tailwind
colors: {
  custom: {
    50: '#65995f',
    500: '#176f1f',
    950: '#000000',
  },
}
SCSS
$custom: #176f1f;
$custom-light: #65995f;
$custom-dark: #000000;
JSON
{
  "hex": "#176f1f",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 125.455,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47456,
    "c": 0.14033,
    "h": 144.1
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#176F1F
secondary
#A53D9B
accent
#3FD9E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #176F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#176F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva