#176F31#176F31

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

Color values

HEX#176F31
RGBrgb(23, 111, 49)
HSLhsl(138, 66%, 26%)
HSVhsv(138, 79%, 44%)
CMYKcmyk(79.3%, 0%, 55.9%, 56.5%)
CIE-LABlab(40.85, -39.62, 27.22)
CIE-LCHlch(40.85, 48.07, 145.51°)
OKLaboklab(47.69% -0.1065 0.0655)
OKLCHoklch(47.69% 0.125 148.4)
XYZxyz(6.5916, 11.7720, 4.8300)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F31 #6F1755
analogous
#296F17 #176F31 #176F5D
triadic
#176F31 #31176F #6F3117
tetradic
#176F31 #17296F #6F1755 #6F5D17
square
#176F31 #17296F #6F1755 #6F5D17
split-complementary
#176F31 #5D176F #6F1729
monochromatic
#05190B #0C3C1B #176F31 #22A247 #2DD35E

Accessibility & contrast

On white

6.26
#176F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #176F31
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F31#FFFFFF#000000##FFFFFF
##176F311.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70652B
Deuteranopia (green-blind)
#665E36
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f31;
/* rgb */ color: rgb(23, 111, 49);
/* oklch */ color: oklch(47.7% 0.125 148.4);
Tailwind
colors: {
  custom: {
    50: '#64996b',
    500: '#176f31',
    950: '#000000',
  },
}
SCSS
$custom: #176f31;
$custom-light: #64996b;
$custom-dark: #000000;
JSON
{
  "hex": "#176f31",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 49
  },
  "hsl": {
    "h": 137.727,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47685,
    "c": 0.12503,
    "h": 148.4
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#176F31
secondary
#A53D86
accent
#3FB7E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #176F31

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

Preview Lab → · Contrast checker → · Palette generator →

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