#166712#166712

#166712 is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.139 H 142.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#166712
RGBrgb(22, 103, 18)
HSLhsl(117, 70%, 24%)
HSVhsv(117, 83%, 40%)
CMYKcmyk(78.6%, 0%, 82.5%, 59.6%)
CIE-LABlab(37.69, -40.51, 38.03)
CIE-LCHlch(37.69, 55.57, 136.81°)
OKLaboklab(44.96% -0.1102 0.085)
OKLCHoklch(44.96% 0.139 142.3)
XYZxyz(5.2900, 9.9141, 2.2070)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166712 #631267
analogous
#406712 #166712 #126738
triadic
#166712 #121667 #671216
tetradic
#166712 #124067 #631267 #673812
square
#166712 #124067 #631267 #673812
split-complementary
#166712 #381267 #671240
monochromatic
#061A05 #0B3309 #166712 #219B1B #2CCF24

Accessibility & contrast

On white

7.04
#166712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#166712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166712
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166712#FFFFFF#000000##FFFFFF
##1667121.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166712;
/* rgb */ color: rgb(22, 103, 18);
/* oklch */ color: oklch(45.0% 0.139 142.3);
Tailwind
colors: {
  custom: {
    50: '#639357',
    500: '#166712',
    950: '#000000',
  },
}
SCSS
$custom: #166712;
$custom-light: #639357;
$custom-dark: #000000;
JSON
{
  "hex": "#166712",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 117.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.13917,
    "h": 142.3
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#166712
secondary
#9A369F
accent
#3BEDE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #166712

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

Preview Lab → · Contrast checker → · Palette generator →

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