#176F40#176F40

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

Color values

HEX#176F40
RGBrgb(23, 111, 64)
HSLhsl(148, 66%, 26%)
HSVhsv(148, 79%, 44%)
CMYKcmyk(79.3%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.09, -36.87, 19.14)
CIE-LCHlch(41.09, 41.54, 152.56°)
OKLaboklab(47.96% -0.0993 0.0476)
OKLCHoklch(47.96% 0.11 154.4)
XYZxyz(6.9626, 11.9204, 6.7834)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F40 #6F1746
analogous
#1A6F17 #176F40 #176F6C
triadic
#176F40 #40176F #6F4017
tetradic
#176F40 #171A6F #6F1746 #6F6C17
square
#176F40 #171A6F #6F1746 #6F6C17
split-complementary
#176F40 #6C176F #6F171A
monochromatic
#05190F #0C3C23 #176F40 #22A25D #2DD37B

Accessibility & contrast

On white

6.21
#176F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#176F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F40
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F40#FFFFFF#000000##FFFFFF
##176F401.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F653D
Deuteranopia (green-blind)
#645E43
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #176f40;
/* rgb */ color: rgb(23, 111, 64);
/* oklch */ color: oklch(48.0% 0.110 154.4);
Tailwind
colors: {
  custom: {
    50: '#639975',
    500: '#176f40',
    950: '#000000',
  },
}
SCSS
$custom: #176f40;
$custom-light: #639975;
$custom-dark: #000000;
JSON
{
  "hex": "#176f40",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 147.955,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.11017,
    "h": 154.4
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#176F40
secondary
#A53D74
accent
#3F9AE9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #176F40

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

Preview Lab → · Contrast checker → · Palette generator →

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