#166820#166820

#166820 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.131 H 144.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#166820
RGBrgb(22, 104, 32)
HSLhsl(127, 65%, 25%)
HSVhsv(127, 79%, 41%)
CMYKcmyk(78.8%, 0%, 69.2%, 59.2%)
CIE-LABlab(38.15, -39.54, 32.71)
CIE-LCHlch(38.15, 51.32, 140.40°)
OKLaboklab(45.38% -0.1068 0.0758)
OKLCHoklch(45.38% 0.131 144.6)
XYZxyz(5.5415, 10.1748, 3.0381)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166820 #68165E
analogous
#356816 #166820 #166849
triadic
#166820 #201668 #682016
tetradic
#166820 #163568 #68165E #684916
square
#166820 #163568 #68165E #684916
split-complementary
#166820 #491668 #681635
monochromatic
#051908 #0B3510 #166820 #219B30 #2BCD3F

Accessibility & contrast

On white

6.92
#166820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166820
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166820#FFFFFF#000000##FFFFFF
##1668201.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E17
Deuteranopia (green-blind)
#615727
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166820;
/* rgb */ color: rgb(22, 104, 32);
/* oklch */ color: oklch(45.4% 0.131 144.6);
Tailwind
colors: {
  custom: {
    50: '#62945f',
    500: '#166820',
    950: '#000000',
  },
}
SCSS
$custom: #166820;
$custom-light: #62945f;
$custom-dark: #000000;
JSON
{
  "hex": "#166820",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 127.317,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.131,
    "h": 144.6
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

primary
#166820
secondary
#9F3B92
accent
#40D4E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166820

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

Preview Lab → · Contrast checker → · Palette generator →

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