#166012#166012

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

Color values

HEX#166012
RGBrgb(22, 96, 18)
HSLhsl(117, 68%, 22%)
HSVhsv(117, 81%, 38%)
CMYKcmyk(77.1%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.16, -38.01, 35.58)
CIE-LCHlch(35.16, 52.06, 136.90°)
OKLaboklab(42.86% -0.1034 0.0799)
OKLCHoklch(42.86% 0.131 142.3)
XYZxyz(4.6227, 8.5795, 1.9845)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166012 #5C1260
analogous
#3D6012 #166012 #126035
triadic
#166012 #121660 #601216
tetradic
#166012 #123D60 #5C1260 #603512
square
#166012 #123D60 #5C1260 #603512
split-complementary
#166012 #351260 #60123D
monochromatic
#061A05 #0A2C08 #166012 #22941C #2EC725

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166012#FFFFFF#000000##FFFFFF
##1660121.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)
#5A501B
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #166012;
/* rgb */ color: rgb(22, 96, 18);
/* oklch */ color: oklch(42.9% 0.131 142.3);
Tailwind
colors: {
  custom: {
    50: '#618e56',
    500: '#166012',
    950: '#000000',
  },
}
SCSS
$custom: #166012;
$custom-light: #618e56;
$custom-dark: #000000;
JSON
{
  "hex": "#166012",
  "rgb": {
    "r": 22,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 116.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.13069,
    "h": 142.3
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#166012
secondary
#933698
accent
#3DEBE2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #166012

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

Preview Lab → · Contrast checker → · Palette generator →

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