#176F38#176F38

#176F38 is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.118 H 150.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#176F38
RGBrgb(23, 111, 56)
HSLhsl(143, 66%, 26%)
HSVhsv(143, 79%, 44%)
CMYKcmyk(79.3%, 0%, 49.5%, 56.5%)
CIE-LABlab(40.95, -38.42, 23.51)
CIE-LCHlch(40.95, 45.05, 148.53°)
OKLaboklab(47.8% -0.1033 0.0575)
OKLCHoklch(47.8% 0.118 150.9)
XYZxyz(6.7510, 11.8358, 5.6693)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176F38 #6F174E
analogous
#226F17 #176F38 #176F64
triadic
#176F38 #38176F #6F3817
tetradic
#176F38 #17226F #6F174E #6F6417
square
#176F38 #17226F #6F174E #6F6417
split-complementary
#176F38 #64176F #6F1722
monochromatic
#05190D #0C3C1E #176F38 #22A252 #2DD36B

Accessibility & contrast

On white

6.24
#176F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#176F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176F38
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176F38#FFFFFF#000000##FFFFFF
##176F381.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706534
Deuteranopia (green-blind)
#655E3C
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #176f38;
/* rgb */ color: rgb(23, 111, 56);
/* oklch */ color: oklch(47.8% 0.118 150.9);
Tailwind
colors: {
  custom: {
    50: '#64996f',
    500: '#176f38',
    950: '#000000',
  },
}
SCSS
$custom: #176f38;
$custom-light: #64996f;
$custom-dark: #000000;
JSON
{
  "hex": "#176f38",
  "rgb": {
    "r": 23,
    "g": 111,
    "b": 56
  },
  "hsl": {
    "h": 142.5,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.11821,
    "h": 150.9
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#176F38
secondary
#A53D7E
accent
#3FA9E9
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #176F38

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

Preview Lab → · Contrast checker → · Palette generator →

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