#176F21#176F21

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

Color values

HEX#176F21
RGBrgb(23, 111, 33)
HSLhsl(127, 66%, 26%)
HSVhsv(127, 79%, 44%)
CMYKcmyk(79.3%, 0%, 70.3%, 56.5%)
CIE-LABlab(40.67, -41.79, 35.00)
CIE-LCHlch(40.67, 54.51, 140.06°)
OKLaboklab(47.48% -0.1129 0.0808)
OKLCHoklch(47.48% 0.139 144.4)
XYZxyz(6.3119, 11.6601, 3.3565)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F21 #6F1765
analogous
#396F17 #176F21 #176F4D
triadic
#176F21 #21176F #6F2117
tetradic
#176F21 #17396F #6F1765 #6F4D17
square
#176F21 #17396F #6F1765 #6F4D17
split-complementary
#176F21 #4D176F #6F1739
monochromatic
#051908 #0C3C12 #176F21 #22A230 #2DD340

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##176F21#FFFFFF#000000##FFFFFF
##176F211.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)
#716417
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #176f21;
/* rgb */ color: rgb(23, 111, 33);
/* oklch */ color: oklch(47.5% 0.139 144.4);
Tailwind
colors: {
  custom: {
    50: '#659960',
    500: '#176f21',
    950: '#000000',
  },
}
SCSS
$custom: #176f21;
$custom-light: #659960;
$custom-dark: #000000;
JSON
{
  "hex": "#176f21",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 33
  },
  "hsl": {
    "h": 126.818,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.13885,
    "h": 144.4
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#176F21
secondary
#A53D99
accent
#3FD5E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #176F21

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

Preview Lab → · Contrast checker → · Palette generator →

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