#176C1F#176C1F

#176C1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.137 H 144.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#176C1F
RGBrgb(23, 108, 31)
HSLhsl(126, 65%, 26%)
HSVhsv(126, 79%, 42%)
CMYKcmyk(78.7%, 0%, 71.3%, 57.6%)
CIE-LABlab(39.59, -40.94, 34.73)
CIE-LCHlch(39.59, 53.69, 139.69°)
OKLaboklab(46.57% -0.1107 0.08)
OKLCHoklch(46.57% 0.137 144.2)
XYZxyz(5.9628, 11.0055, 3.1061)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176C1F #6C1764
analogous
#396C17 #176C1F #176C49
triadic
#176C1F #1F176C #6C1F17
tetradic
#176C1F #17396C #6C1764 #6C4917
square
#176C1F #17396C #6C1764 #6C4917
split-complementary
#176C1F #49176C #6C1739
monochromatic
#051907 #0C3A11 #176C1F #229E2D #2CD13C

Accessibility & contrast

On white

6.56
#176C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#176C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176C1F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176C1F#FFFFFF#000000##FFFFFF
##176C1F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6114
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #176c1f;
/* rgb */ color: rgb(23, 108, 31);
/* oklch */ color: oklch(46.6% 0.137 144.2);
Tailwind
colors: {
  custom: {
    50: '#64975f',
    500: '#176c1f',
    950: '#000000',
  },
}
SCSS
$custom: #176c1f;
$custom-light: #64975f;
$custom-dark: #000000;
JSON
{
  "hex": "#176c1f",
  "rgb": {
    "r": 23,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 125.647,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46573,
    "c": 0.13657,
    "h": 144.2
  },
  "luminance": 0.11006
}

Semantic roles & 50–950 ramp

primary
#176C1F
secondary
#A23D98
accent
#40D8E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #176C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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