#175B12#175B12

#175B12 is a dark, vivid green. Relative luminance 0.077; OKLCH L 41.4% C 0.124 H 142.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#175B12
RGBrgb(23, 91, 18)
HSLhsl(116, 67%, 21%)
HSVhsv(116, 80%, 36%)
CMYKcmyk(74.7%, 0%, 80.2%, 64.3%)
CIE-LABlab(33.37, -35.97, 33.81)
CIE-LCHlch(33.37, 49.36, 136.77°)
OKLaboklab(41.38% -0.0979 0.0762)
OKLCHoklch(41.38% 0.124 142.1)
XYZxyz(4.2034, 7.7075, 1.8383)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B12 #56125B
analogous
#3C5B12 #175B12 #125B32
triadic
#175B12 #12175B #5B1217
tetradic
#175B12 #123C5B #56125B #5B3212
square
#175B12 #123C5B #56125B #5B3212
split-complementary
#175B12 #32125B #5B123C
monochromatic
#061A05 #0A2808 #175B12 #248E1C #31C126

Accessibility & contrast

On white

8.26
#175B12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#175B12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175B12
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175B12#FFFFFF#000000##FFFFFF
##175B121.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5204
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#05584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175b12;
/* rgb */ color: rgb(23, 91, 18);
/* oklch */ color: oklch(41.4% 0.124 142.1);
Tailwind
colors: {
  custom: {
    50: '#608a56',
    500: '#175b12',
    950: '#000000',
  },
}
SCSS
$custom: #175b12;
$custom-light: #608a56;
$custom-dark: #000000;
JSON
{
  "hex": "#175b12",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 18
  },
  "hsl": {
    "h": 115.89,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41375,
    "c": 0.1241,
    "h": 142.1
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #175B12

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

Preview Lab → · Contrast checker → · Palette generator →

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