#176012#176012

#176012 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.130 H 142.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#176012
RGBrgb(23, 96, 18)
HSLhsl(116, 68%, 22%)
HSVhsv(116, 81%, 38%)
CMYKcmyk(76%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.18, -37.82, 35.61)
CIE-LCHlch(35.18, 51.94, 136.73°)
OKLaboklab(42.88% -0.1029 0.08)
OKLCHoklch(42.88% 0.13 142.2)
XYZxyz(4.6451, 8.5911, 1.9856)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176012 #5B1260
analogous
#3E6012 #176012 #126034
triadic
#176012 #121760 #601217
tetradic
#176012 #123E60 #5B1260 #603412
square
#176012 #123E60 #5B1260 #603412
split-complementary
#176012 #341260 #60123E
monochromatic
#061A05 #0B2C08 #176012 #23941C #30C725

Accessibility & contrast

On white

7.73
#176012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#176012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #176012
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176012#FFFFFF#000000##FFFFFF
##1760121.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#025D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #176012;
/* rgb */ color: rgb(23, 96, 18);
/* oklch */ color: oklch(42.9% 0.130 142.2);
Tailwind
colors: {
  custom: {
    50: '#618e56',
    500: '#176012',
    950: '#000000',
  },
}
SCSS
$custom: #176012;
$custom-light: #618e56;
$custom-dark: #000000;
JSON
{
  "hex": "#176012",
  "rgb": {
    "r": 23,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 116.154,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.13035,
    "h": 142.2
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#176012
secondary
#923698
accent
#3DEBE0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #176012

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

Preview Lab → · Contrast checker → · Palette generator →

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