#166811#166811

#166811 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.141 H 142.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#166811
RGBrgb(22, 104, 17)
HSLhsl(117, 72%, 24%)
HSVhsv(117, 84%, 41%)
CMYKcmyk(78.8%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.04, -40.93, 38.72)
CIE-LCHlch(38.04, 56.34, 136.60°)
OKLaboklab(45.25% -0.1114 0.0863)
OKLCHoklch(45.25% 0.141 142.2)
XYZxyz(5.3820, 10.1111, 2.1982)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166811 #631168
analogous
#416811 #166811 #116837
triadic
#166811 #111668 #681116
tetradic
#166811 #114168 #631168 #683711
square
#166811 #114168 #631168 #683711
split-complementary
#166811 #371168 #681141
monochromatic
#061A04 #0B3308 #166811 #219D1A #2CD122

Accessibility & contrast

On white

6.95
#166811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#166811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166811
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166811#FFFFFF#000000##FFFFFF
##1668111.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166811;
/* rgb */ color: rgb(22, 104, 17);
/* oklch */ color: oklch(45.2% 0.141 142.2);
Tailwind
colors: {
  custom: {
    50: '#639457',
    500: '#166811',
    950: '#000000',
  },
}
SCSS
$custom: #166811;
$custom-light: #639457;
$custom-dark: #000000;
JSON
{
  "hex": "#166811",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 116.552,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.14089,
    "h": 142.2
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#166811
secondary
#9A35A0
accent
#39EFE4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #166811

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

Preview Lab → · Contrast checker → · Palette generator →

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