#176F2A#176F2A

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

Color values

HEX#176F2A
RGBrgb(23, 111, 42)
HSLhsl(133, 66%, 26%)
HSVhsv(133, 79%, 44%)
CMYKcmyk(79.3%, 0%, 62.2%, 56.5%)
CIE-LABlab(40.76, -40.67, 30.77)
CIE-LCHlch(40.76, 51.00, 142.89°)
OKLaboklab(47.58% -0.1095 0.0727)
OKLCHoklch(47.58% 0.131 146.4)
XYZxyz(6.4552, 11.7174, 4.1115)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F2A #6F175C
analogous
#306F17 #176F2A #176F56
triadic
#176F2A #2A176F #6F2A17
tetradic
#176F2A #17306F #6F175C #6F5617
square
#176F2A #17306F #6F175C #6F5617
split-complementary
#176F2A #56176F #6F1730
monochromatic
#05190A #0C3C17 #176F2A #22A23D #2DD351

Accessibility & contrast

On white

6.28
#176F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#176F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F2A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F2A#FFFFFF#000000##FFFFFF
##176F2A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716423
Deuteranopia (green-blind)
#675D30
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f2a;
/* rgb */ color: rgb(23, 111, 42);
/* oklch */ color: oklch(47.6% 0.131 146.4);
Tailwind
colors: {
  custom: {
    50: '#649966',
    500: '#176f2a',
    950: '#000000',
  },
}
SCSS
$custom: #176f2a;
$custom-light: #649966;
$custom-dark: #000000;
JSON
{
  "hex": "#176f2a",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 132.955,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47583,
    "c": 0.13146,
    "h": 146.4
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#176F2A
secondary
#A53D8E
accent
#3FC4E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #176F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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