#166816#166816

#166816 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.138 H 142.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#166816
RGBrgb(22, 104, 22)
HSLhsl(120, 65%, 25%)
HSVhsv(120, 79%, 41%)
CMYKcmyk(78.8%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.07, -40.55, 36.93)
CIE-LCHlch(38.07, 54.85, 137.67°)
OKLaboklab(45.28% -0.1101 0.0833)
OKLCHoklch(45.28% 0.138 142.9)
XYZxyz(5.4257, 10.1285, 2.4280)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166816 #681668
analogous
#3F6816 #166816 #16683F
triadic
#166816 #161668 #681616
tetradic
#166816 #163F68 #681668 #683F16
square
#166816 #163F68 #681668 #683F16
split-complementary
#166816 #3F1668 #68163F
monochromatic
#051905 #0B350B #166816 #219B21 #2BCD2B

Accessibility & contrast

On white

6.94
#166816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#166816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166816
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166816#FFFFFF#000000##FFFFFF
##1668161.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166816;
/* rgb */ color: rgb(22, 104, 22);
/* oklch */ color: oklch(45.3% 0.138 142.9);
Tailwind
colors: {
  custom: {
    50: '#639459',
    500: '#166816',
    950: '#000000',
  },
}
SCSS
$custom: #166816;
$custom-light: #639459;
$custom-dark: #000000;
JSON
{
  "hex": "#166816",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 120,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45284,
    "c": 0.13806,
    "h": 142.9
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#166816
secondary
#9F3B9F
accent
#40E8E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166816

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

Preview Lab → · Contrast checker → · Palette generator →

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