#166814#166814

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

Color values

HEX#166814
RGBrgb(22, 104, 20)
HSLhsl(119, 68%, 24%)
HSVhsv(119, 81%, 41%)
CMYKcmyk(78.8%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.06, -40.71, 37.68)
CIE-LCHlch(38.06, 55.47, 137.22°)
OKLaboklab(45.27% -0.1106 0.0846)
OKLCHoklch(45.27% 0.139 142.6)
XYZxyz(5.4071, 10.1211, 2.3303)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166814 #661468
analogous
#406814 #166814 #14683C
triadic
#166814 #141668 #681416
tetradic
#166814 #144068 #661468 #683C14
square
#166814 #144068 #661468 #683C14
split-complementary
#166814 #3C1468 #681440
monochromatic
#051A05 #0B350A #166814 #219B1E #2CCF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166814#FFFFFF#000000##FFFFFF
##1668141.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166814;
/* rgb */ color: rgb(22, 104, 20);
/* oklch */ color: oklch(45.3% 0.139 142.6);
Tailwind
colors: {
  custom: {
    50: '#639458',
    500: '#166814',
    950: '#000000',
  },
}
SCSS
$custom: #166814;
$custom-light: #639458;
$custom-dark: #000000;
JSON
{
  "hex": "#166814",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 118.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.13926,
    "h": 142.6
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#166814
secondary
#9D399F
accent
#3DEBE6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166814

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

Preview Lab → · Contrast checker → · Palette generator →

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