#176F2F#176F2F

#176F2F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.127 H 147.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#176F2F
RGBrgb(23, 111, 47)
HSLhsl(136, 66%, 26%)
HSVhsv(136, 79%, 44%)
CMYKcmyk(79.3%, 0%, 57.7%, 56.5%)
CIE-LABlab(40.82, -39.94, 28.25)
CIE-LCHlch(40.82, 48.92, 144.72°)
OKLaboklab(47.65% -0.1074 0.0676)
OKLCHoklch(47.65% 0.127 147.8)
XYZxyz(6.5504, 11.7555, 4.6126)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F2F #6F1757
analogous
#2B6F17 #176F2F #176F5B
triadic
#176F2F #2F176F #6F2F17
tetradic
#176F2F #172B6F #6F1757 #6F5B17
square
#176F2F #172B6F #6F1757 #6F5B17
split-complementary
#176F2F #5B176F #6F172B
monochromatic
#05190B #0C3C1A #176F2F #22A244 #2DD35A

Accessibility & contrast

On white

6.27
#176F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#176F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F2F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F2F#FFFFFF#000000##FFFFFF
##176F2F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706529
Deuteranopia (green-blind)
#665D34
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f2f;
/* rgb */ color: rgb(23, 111, 47);
/* oklch */ color: oklch(47.7% 0.127 147.8);
Tailwind
colors: {
  custom: {
    50: '#649969',
    500: '#176f2f',
    950: '#000000',
  },
}
SCSS
$custom: #176f2f;
$custom-light: #649969;
$custom-dark: #000000;
JSON
{
  "hex": "#176f2f",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 136.364,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47654,
    "c": 0.12692,
    "h": 147.8
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#176F2F
secondary
#A53D88
accent
#3FBAE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #176F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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