#176F42#176F42

#176F42 is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.0% C 0.108 H 155.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#176F42
RGBrgb(23, 111, 66)
HSLhsl(149, 66%, 26%)
HSVhsv(149, 79%, 44%)
CMYKcmyk(79.3%, 0%, 40.5%, 56.5%)
CIE-LABlab(41.13, -36.45, 18.04)
CIE-LCHlch(41.13, 40.67, 153.67°)
OKLaboklab(48% -0.0983 0.0451)
OKLCHoklch(48% 0.108 155.4)
XYZxyz(7.0205, 11.9436, 7.0885)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F42 #6F1744
analogous
#186F17 #176F42 #176F6E
triadic
#176F42 #42176F #6F4217
tetradic
#176F42 #17186F #6F1744 #6F6E17
square
#176F42 #17186F #6F1744 #6F6E17
split-complementary
#176F42 #6E176F #6F1718
monochromatic
#05190F #0C3C24 #176F42 #22A260 #2DD37E

Accessibility & contrast

On white

6.20
#176F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#176F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F42
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F42#FFFFFF#000000##FFFFFF
##176F421.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F653F
Deuteranopia (green-blind)
#645E45
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #176f42;
/* rgb */ color: rgb(23, 111, 66);
/* oklch */ color: oklch(48.0% 0.108 155.4);
Tailwind
colors: {
  custom: {
    50: '#639977',
    500: '#176f42',
    950: '#000000',
  },
}
SCSS
$custom: #176f42;
$custom-light: #639977;
$custom-dark: #000000;
JSON
{
  "hex": "#176f42",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 66
  },
  "hsl": {
    "h": 149.318,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.10816,
    "h": 155.4
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#176F42
secondary
#A53D72
accent
#3F96E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #176F42

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

Preview Lab → · Contrast checker → · Palette generator →

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