#166711#166711

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

Color values

HEX#166711
RGBrgb(22, 103, 17)
HSLhsl(117, 72%, 24%)
HSVhsv(117, 83%, 40%)
CMYKcmyk(78.6%, 0%, 83.5%, 59.6%)
CIE-LABlab(37.68, -40.58, 38.37)
CIE-LCHlch(37.68, 55.85, 136.60°)
OKLaboklab(44.95% -0.1104 0.0856)
OKLCHoklch(44.95% 0.14 142.2)
XYZxyz(5.2820, 9.9109, 2.1648)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166711 #621167
analogous
#416711 #166711 #116737
triadic
#166711 #111667 #671116
tetradic
#166711 #114167 #621167 #673711
square
#166711 #114167 #621167 #673711
split-complementary
#166711 #371167 #671141
monochromatic
#061A04 #0B3208 #166711 #219C1A #2CD022

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166711#FFFFFF#000000##FFFFFF
##1667111.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)
#61561B
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166711;
/* rgb */ color: rgb(22, 103, 17);
/* oklch */ color: oklch(45.0% 0.140 142.2);
Tailwind
colors: {
  custom: {
    50: '#639357',
    500: '#166711',
    950: '#000000',
  },
}
SCSS
$custom: #166711;
$custom-light: #639357;
$custom-dark: #000000;
JSON
{
  "hex": "#166711",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 116.512,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.1397,
    "h": 142.2
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#166711
secondary
#99359F
accent
#39EEE4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #166711

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

Preview Lab → · Contrast checker → · Palette generator →

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