#166813#166813

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

Color values

HEX#166813
RGBrgb(22, 104, 19)
HSLhsl(118, 69%, 24%)
HSVhsv(118, 82%, 41%)
CMYKcmyk(78.8%, 0%, 81.7%, 59.2%)
CIE-LABlab(38.05, -40.79, 38.03)
CIE-LCHlch(38.05, 55.77, 137.00°)
OKLaboklab(45.26% -0.1109 0.0852)
OKLCHoklch(45.26% 0.14 142.5)
XYZxyz(5.3984, 10.1176, 2.2844)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166813 #651368
analogous
#416813 #166813 #13683B
triadic
#166813 #131668 #681316
tetradic
#166813 #134168 #651368 #683B13
square
#166813 #134168 #651368 #683B13
split-complementary
#166813 #3B1368 #681341
monochromatic
#051A05 #0B340A #166813 #219C1C #2CCF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166813#FFFFFF#000000##FFFFFF
##1668131.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)
#6B5D01
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166813;
/* rgb */ color: rgb(22, 104, 19);
/* oklch */ color: oklch(45.3% 0.140 142.5);
Tailwind
colors: {
  custom: {
    50: '#639458',
    500: '#166813',
    950: '#000000',
  },
}
SCSS
$custom: #166813;
$custom-light: #639458;
$custom-dark: #000000;
JSON
{
  "hex": "#166813",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 117.882,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.13982,
    "h": 142.5
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#166813
secondary
#9C379F
accent
#3CECE6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166813

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

Preview Lab → · Contrast checker → · Palette generator →

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