#176A1F#176A1F

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

Color values

HEX#176A1F
RGBrgb(23, 106, 31)
HSLhsl(126, 64%, 25%)
HSVhsv(126, 78%, 42%)
CMYKcmyk(78.3%, 0%, 70.8%, 58.4%)
CIE-LABlab(38.88, -40.22, 33.97)
CIE-LCHlch(38.88, 52.64, 139.81°)
OKLaboklab(45.98% -0.1088 0.0783)
OKLCHoklch(45.98% 0.134 144.2)
XYZxyz(5.7543, 10.5885, 3.0366)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176A1F #6A1762
analogous
#386A17 #176A1F #176A48
triadic
#176A1F #1F176A #6A1F17
tetradic
#176A1F #17386A #6A1762 #6A4817
square
#176A1F #17386A #6A1762 #6A4817
split-complementary
#176A1F #48176A #6A1738
monochromatic
#051907 #0C3810 #176A1F #229C2E #2DCF3C

Accessibility & contrast

On white

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

On black

3.12
#176A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##176A1F#FFFFFF#000000##FFFFFF
##176A1F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #176a1f;
/* rgb */ color: rgb(23, 106, 31);
/* oklch */ color: oklch(46.0% 0.134 144.2);
Tailwind
colors: {
  custom: {
    50: '#63965f',
    500: '#176a1f',
    950: '#000000',
  },
}
SCSS
$custom: #176a1f;
$custom-light: #63965f;
$custom-dark: #000000;
JSON
{
  "hex": "#176a1f",
  "rgb": {
    "r": 23,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 125.783,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.13404,
    "h": 144.2
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#176A1F
secondary
#A03D97
accent
#40D7E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #176A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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