#175812#175812

#175812 is a dark, vivid green. Relative luminance 0.072; OKLCH L 40.5% C 0.120 H 142.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#175812
RGBrgb(23, 88, 18)
HSLhsl(116, 66%, 21%)
HSVhsv(116, 80%, 35%)
CMYKcmyk(73.9%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.27, -34.84, 32.71)
CIE-LCHlch(32.27, 47.78, 136.81°)
OKLaboklab(40.47% -0.0949 0.0739)
OKLCHoklch(40.47% 0.12 142.1)
XYZxyz(3.9520, 7.2049, 1.7546)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175812 #531258
analogous
#3A5812 #175812 #125830
triadic
#175812 #121758 #581217
tetradic
#175812 #123A58 #531258 #583012
square
#175812 #123A58 #531258 #583012
split-complementary
#175812 #301258 #58123A
monochromatic
#071905 #0A2508 #175812 #248B1C #32BE27

Accessibility & contrast

On white

8.60
#175812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#175812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175812
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175812#FFFFFF#000000##FFFFFF
##1758121.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#07554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #175812;
/* rgb */ color: rgb(23, 88, 18);
/* oklch */ color: oklch(40.5% 0.120 142.1);
Tailwind
colors: {
  custom: {
    50: '#5f8855',
    500: '#175812',
    950: '#000000',
  },
}
SCSS
$custom: #175812;
$custom-light: #5f8855;
$custom-dark: #000000;
JSON
{
  "hex": "#175812",
  "rgb": {
    "r": 23,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 115.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.12027,
    "h": 142.1
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#175812
secondary
#8A3591
accent
#3FE9DD
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175812

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

Preview Lab → · Contrast checker → · Palette generator →

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