#175C12#175C12

#175C12 is a dark, vivid green. Relative luminance 0.079; OKLCH L 41.7% C 0.125 H 142.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#175C12
RGBrgb(23, 92, 18)
HSLhsl(116, 67%, 22%)
HSVhsv(116, 80%, 36%)
CMYKcmyk(75%, 0%, 80.4%, 63.9%)
CIE-LABlab(33.73, -36.34, 34.17)
CIE-LCHlch(33.73, 49.88, 136.77°)
OKLaboklab(41.68% -0.0989 0.077)
OKLCHoklch(41.68% 0.125 142.1)
XYZxyz(4.2894, 7.8797, 1.8670)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175C12 #57125C
analogous
#3C5C12 #175C12 #125C32
triadic
#175C12 #12175C #5C1217
tetradic
#175C12 #123C5C #57125C #5C3212
square
#175C12 #123C5C #57125C #5C3212
split-complementary
#175C12 #32125C #5C123C
monochromatic
#061A05 #0A2908 #175C12 #248F1C #31C226

Accessibility & contrast

On white

8.15
#175C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#175C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175C12
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175C12#FFFFFF#000000##FFFFFF
##175C121.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#05594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175c12;
/* rgb */ color: rgb(23, 92, 18);
/* oklch */ color: oklch(41.7% 0.125 142.1);
Tailwind
colors: {
  custom: {
    50: '#608b56',
    500: '#175c12',
    950: '#000000',
  },
}
SCSS
$custom: #175c12;
$custom-light: #608b56;
$custom-dark: #000000;
JSON
{
  "hex": "#175c12",
  "rgb": {
    "r": 23,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 115.946,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.12536,
    "h": 142.1
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#175C12
secondary
#8E3594
accent
#3EEADF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #175C12

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

Preview Lab → · Contrast checker → · Palette generator →

#175C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva