#175712#175712

#175712 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.119 H 142.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#175712
RGBrgb(23, 87, 18)
HSLhsl(116, 66%, 21%)
HSVhsv(116, 79%, 34%)
CMYKcmyk(73.6%, 0%, 79.3%, 65.9%)
CIE-LABlab(31.90, -34.45, 32.34)
CIE-LCHlch(31.90, 47.25, 136.82°)
OKLaboklab(40.16% -0.0938 0.0731)
OKLCHoklch(40.16% 0.119 142.1)
XYZxyz(3.8705, 7.0418, 1.7274)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175712 #521257
analogous
#395712 #175712 #12572F
triadic
#175712 #121757 #571217
tetradic
#175712 #123957 #521257 #572F12
square
#175712 #123957 #521257 #572F12
split-complementary
#175712 #2F1257 #571239
monochromatic
#071905 #0A2408 #175712 #248A1C #32BC27

Accessibility & contrast

On white

8.72
#175712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#175712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175712
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175712#FFFFFF#000000##FFFFFF
##1757121.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#08544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #175712;
/* rgb */ color: rgb(23, 87, 18);
/* oklch */ color: oklch(40.2% 0.119 142.1);
Tailwind
colors: {
  custom: {
    50: '#5f8755',
    500: '#175712',
    950: '#000000',
  },
}
SCSS
$custom: #175712;
$custom-light: #5f8755;
$custom-dark: #000000;
JSON
{
  "hex": "#175712",
  "rgb": {
    "r": 23,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 115.652,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.11897,
    "h": 142.1
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#175712
secondary
#893590
accent
#3FE9DC
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175712

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

Preview Lab → · Contrast checker → · Palette generator →

#175712 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva