#166A12#166A12

#166A12 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.143 H 142.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#166A12
RGBrgb(22, 106, 18)
HSLhsl(117, 71%, 24%)
HSVhsv(117, 83%, 42%)
CMYKcmyk(79.2%, 0%, 83%, 58.4%)
CIE-LABlab(38.76, -41.56, 39.07)
CIE-LCHlch(38.76, 57.04, 136.77°)
OKLaboklab(45.85% -0.113 0.0872)
OKLCHoklch(45.85% 0.143 142.3)
XYZxyz(5.5938, 10.5217, 2.3082)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A12 #66126A
analogous
#426A12 #166A12 #126A3A
triadic
#166A12 #12166A #6A1216
tetradic
#166A12 #12426A #66126A #6A3A12
square
#166A12 #12426A #66126A #6A3A12
split-complementary
#166A12 #3A126A #6A1242
monochromatic
#051A04 #0B3609 #166A12 #219E1B #2CD324

Accessibility & contrast

On white

6.76
#166A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#166A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A12
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A12#FFFFFF#000000##FFFFFF
##166A121.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166a12;
/* rgb */ color: rgb(22, 106, 18);
/* oklch */ color: oklch(45.9% 0.143 142.3);
Tailwind
colors: {
  custom: {
    50: '#649658',
    500: '#166a12',
    950: '#000000',
  },
}
SCSS
$custom: #166a12;
$custom-light: #649658;
$custom-dark: #000000;
JSON
{
  "hex": "#166a12",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 117.273,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.14274,
    "h": 142.3
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#166A12
secondary
#9D36A2
accent
#3AEEE6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166A12

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

Preview Lab → · Contrast checker → · Palette generator →

#166A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva