#176F20#176F20

#176F20 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.140 H 144.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#176F20
RGBrgb(23, 111, 32)
HSLhsl(126, 66%, 26%)
HSVhsv(126, 79%, 44%)
CMYKcmyk(79.3%, 0%, 71.2%, 56.5%)
CIE-LABlab(40.66, -41.90, 35.44)
CIE-LCHlch(40.66, 54.88, 139.78°)
OKLaboklab(47.47% -0.1133 0.0816)
OKLCHoklch(47.47% 0.14 144.2)
XYZxyz(6.2981, 11.6546, 3.2839)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F20 #6F1766
analogous
#3A6F17 #176F20 #176F4C
triadic
#176F20 #20176F #6F2017
tetradic
#176F20 #173A6F #6F1766 #6F4C17
square
#176F20 #173A6F #6F1766 #6F4C17
split-complementary
#176F20 #4C176F #6F173A
monochromatic
#051907 #0C3C11 #176F20 #22A22F #2DD33E

Accessibility & contrast

On white

6.30
#176F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#176F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F20
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F20#FFFFFF#000000##FFFFFF
##176F201.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f20;
/* rgb */ color: rgb(23, 111, 32);
/* oklch */ color: oklch(47.5% 0.140 144.2);
Tailwind
colors: {
  custom: {
    50: '#659960',
    500: '#176f20',
    950: '#000000',
  },
}
SCSS
$custom: #176f20;
$custom-light: #659960;
$custom-dark: #000000;
JSON
{
  "hex": "#176f20",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 126.136,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47466,
    "c": 0.1396,
    "h": 144.2
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#176F20
secondary
#A53D9A
accent
#3FD7E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #176F20

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

Preview Lab → · Contrast checker → · Palette generator →

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