#176A1B#176A1B

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

Color values

HEX#176A1B
RGBrgb(23, 106, 27)
HSLhsl(123, 64%, 25%)
HSVhsv(123, 78%, 42%)
CMYKcmyk(78.3%, 0%, 74.5%, 58.4%)
CIE-LABlab(38.84, -40.63, 35.70)
CIE-LCHlch(38.84, 54.08, 138.70°)
OKLaboklab(45.94% -0.1101 0.0815)
OKLCHoklch(45.94% 0.137 143.5)
XYZxyz(5.7048, 10.5687, 2.7760)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176A1B #6A1766
analogous
#3C6A17 #176A1B #176A45
triadic
#176A1B #1B176A #6A1B17
tetradic
#176A1B #173C6A #6A1766 #6A4517
square
#176A1B #173C6A #6A1766 #6A4517
split-complementary
#176A1B #45176A #6A173C
monochromatic
#051906 #0C380E #176A1B #229C28 #2DCF35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##176A1B#FFFFFF#000000##FFFFFF
##176A1B1.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)
#6C5F0E
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #176a1b;
/* rgb */ color: rgb(23, 106, 27);
/* oklch */ color: oklch(45.9% 0.137 143.5);
Tailwind
colors: {
  custom: {
    50: '#64965c',
    500: '#176a1b',
    950: '#000000',
  },
}
SCSS
$custom: #176a1b;
$custom-light: #64965c;
$custom-dark: #000000;
JSON
{
  "hex": "#176a1b",
  "rgb": {
    "r": 23,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 122.892,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.13694,
    "h": 143.5
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#176A1B
secondary
#A03D9B
accent
#40DFE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #176A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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