#176A1C#176A1C

#176A1C is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.136 H 143.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#176A1C
RGBrgb(23, 106, 28)
HSLhsl(124, 64%, 25%)
HSVhsv(124, 78%, 42%)
CMYKcmyk(78.3%, 0%, 73.6%, 58.4%)
CIE-LABlab(38.85, -40.53, 35.27)
CIE-LCHlch(38.85, 53.73, 138.97°)
OKLaboklab(45.95% -0.1098 0.0807)
OKLCHoklch(45.95% 0.136 143.7)
XYZxyz(5.7166, 10.5734, 2.8380)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176A1C #6A1765
analogous
#3C6A17 #176A1C #176A45
triadic
#176A1C #1C176A #6A1C17
tetradic
#176A1C #173C6A #6A1765 #6A4517
square
#176A1C #173C6A #6A1765 #6A4517
split-complementary
#176A1C #45176A #6A173C
monochromatic
#051907 #0C380F #176A1C #229C29 #2DCF37

Accessibility & contrast

On white

6.74
#176A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#176A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176A1C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176A1C#FFFFFF#000000##FFFFFF
##176A1C1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F10
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #176a1c;
/* rgb */ color: rgb(23, 106, 28);
/* oklch */ color: oklch(46.0% 0.136 143.7);
Tailwind
colors: {
  custom: {
    50: '#64965d',
    500: '#176a1c',
    950: '#000000',
  },
}
SCSS
$custom: #176a1c;
$custom-light: #64965d;
$custom-dark: #000000;
JSON
{
  "hex": "#176a1c",
  "rgb": {
    "r": 23,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 123.614,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.13625,
    "h": 143.7
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#176A1C
secondary
#A03D9A
accent
#40DDE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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