#176F2D#176F2D

#176F2D is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.129 H 147.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#176F2D
RGBrgb(23, 111, 45)
HSLhsl(135, 66%, 26%)
HSVhsv(135, 79%, 44%)
CMYKcmyk(79.3%, 0%, 59.5%, 56.5%)
CIE-LABlab(40.80, -40.24, 29.27)
CIE-LCHlch(40.80, 49.76, 143.97°)
OKLaboklab(47.63% -0.1083 0.0697)
OKLCHoklch(47.63% 0.129 147.2)
XYZxyz(6.5109, 11.7397, 4.4050)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F2D #6F1759
analogous
#2D6F17 #176F2D #176F59
triadic
#176F2D #2D176F #6F2D17
tetradic
#176F2D #172D6F #6F1759 #6F5917
square
#176F2D #172D6F #6F1759 #6F5917
split-complementary
#176F2D #59176F #6F172D
monochromatic
#05190A #0C3C18 #176F2D #22A242 #2DD357

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##176F2D#FFFFFF#000000##FFFFFF
##176F2D1.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)
#706427
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f2d;
/* rgb */ color: rgb(23, 111, 45);
/* oklch */ color: oklch(47.6% 0.129 147.2);
Tailwind
colors: {
  custom: {
    50: '#649968',
    500: '#176f2d',
    950: '#000000',
  },
}
SCSS
$custom: #176f2d;
$custom-light: #649968;
$custom-dark: #000000;
JSON
{
  "hex": "#176f2d",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 135,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47625,
    "c": 0.12877,
    "h": 147.2
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#176F2D
secondary
#A53D8B
accent
#3FBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #176F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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