#175412#175412

#175412 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.2% C 0.115 H 142.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#175412
RGBrgb(23, 84, 18)
HSLhsl(115, 65%, 20%)
HSVhsv(115, 79%, 33%)
CMYKcmyk(72.6%, 0%, 78.6%, 67.1%)
CIE-LABlab(30.80, -33.29, 31.21)
CIE-LCHlch(30.80, 45.64, 136.85°)
OKLaboklab(39.25% -0.0907 0.0708)
OKLCHoklch(39.25% 0.115 142)
XYZxyz(3.6327, 6.5661, 1.6481)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175412 #4F1254
analogous
#385412 #175412 #12542E
triadic
#175412 #121754 #541217
tetradic
#175412 #123854 #4F1254 #542E12
square
#175412 #123854 #4F1254 #542E12
split-complementary
#175412 #2E1254 #541238
monochromatic
#071905 #092207 #175412 #25861D #33B928

Accessibility & contrast

On white

9.08
#175412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#175412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175412
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175412#FFFFFF#000000##FFFFFF
##1754121.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#095147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #175412;
/* rgb */ color: rgb(23, 84, 18);
/* oklch */ color: oklch(39.2% 0.115 142.0);
Tailwind
colors: {
  custom: {
    50: '#5e8555',
    500: '#175412',
    950: '#000000',
  },
}
SCSS
$custom: #175412;
$custom-light: #5e8555;
$custom-dark: #000000;
JSON
{
  "hex": "#175412",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 115.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39246,
    "c": 0.11506,
    "h": 142
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#175412
secondary
#86358D
accent
#40E8DB
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175412

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

Preview Lab → · Contrast checker → · Palette generator →

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