#176D1F#176D1F

#176D1F is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.138 H 144.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#176D1F
RGBrgb(23, 109, 31)
HSLhsl(126, 65%, 26%)
HSVhsv(126, 79%, 43%)
CMYKcmyk(78.9%, 0%, 71.6%, 57.3%)
CIE-LABlab(39.94, -41.30, 35.12)
CIE-LCHlch(39.94, 54.21, 139.62°)
OKLaboklab(46.87% -0.1117 0.0808)
OKLCHoklch(46.87% 0.138 144.1)
XYZxyz(6.0689, 11.2177, 3.1414)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176D1F #6D1765
analogous
#3A6D17 #176D1F #176D4A
triadic
#176D1F #1F176D #6D1F17
tetradic
#176D1F #173A6D #6D1765 #6D4A17
square
#176D1F #173A6D #6D1765 #6D4A17
split-complementary
#176D1F #4A176D #6D173A
monochromatic
#051907 #0C3A11 #176D1F #22A02D #2CD23C

Accessibility & contrast

On white

6.47
#176D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#176D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176D1F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176D1F#FFFFFF#000000##FFFFFF
##176D1F1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #176d1f;
/* rgb */ color: rgb(23, 109, 31);
/* oklch */ color: oklch(46.9% 0.138 144.1);
Tailwind
colors: {
  custom: {
    50: '#64985f',
    500: '#176d1f',
    950: '#000000',
  },
}
SCSS
$custom: #176d1f;
$custom-light: #64985f;
$custom-dark: #000000;
JSON
{
  "hex": "#176d1f",
  "rgb": {
    "r": 23,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 125.581,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.13784,
    "h": 144.1
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#176D1F
secondary
#A33D99
accent
#40D8E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #176D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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