#175A12#175A12

#175A12 is a dark, vivid green. Relative luminance 0.075; OKLCH L 41.1% C 0.123 H 142.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#175A12
RGBrgb(23, 90, 18)
HSLhsl(116, 67%, 21%)
HSVhsv(116, 80%, 35%)
CMYKcmyk(74.4%, 0%, 80%, 64.7%)
CIE-LABlab(33.00, -35.59, 33.44)
CIE-LCHlch(33.00, 48.84, 136.78°)
OKLaboklab(41.07% -0.0969 0.0755)
OKLCHoklch(41.07% 0.123 142.1)
XYZxyz(4.1185, 7.5377, 1.8100)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A12 #55125A
analogous
#3B5A12 #175A12 #125A31
triadic
#175A12 #12175A #5A1217
tetradic
#175A12 #123B5A #55125A #5A3112
square
#175A12 #123B5A #55125A #5A3112
split-complementary
#175A12 #31125A #5A123B
monochromatic
#071A05 #0A2708 #175A12 #248D1C #31C026

Accessibility & contrast

On white

8.37
#175A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#175A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A12
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A12#FFFFFF#000000##FFFFFF
##175A121.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#06574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a12;
/* rgb */ color: rgb(23, 90, 18);
/* oklch */ color: oklch(41.1% 0.123 142.1);
Tailwind
colors: {
  custom: {
    50: '#608955',
    500: '#175a12',
    950: '#000000',
  },
}
SCSS
$custom: #175a12;
$custom-light: #608955;
$custom-dark: #000000;
JSON
{
  "hex": "#175a12",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 115.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.12283,
    "h": 142.1
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#175A12
secondary
#8C3593
accent
#3EEADE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #175A12

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

Preview Lab → · Contrast checker → · Palette generator →

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