#166C22#166C22

#166C22 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.135 H 144.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#166C22
RGBrgb(22, 108, 34)
HSLhsl(128, 66%, 25%)
HSVhsv(128, 80%, 42%)
CMYKcmyk(79.6%, 0%, 68.5%, 57.6%)
CIE-LABlab(39.60, -40.76, 33.36)
CIE-LCHlch(39.60, 52.67, 140.71°)
OKLaboklab(46.58% -0.1101 0.0774)
OKLCHoklch(46.58% 0.135 144.9)
XYZxyz(5.9818, 11.0105, 3.3230)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C22 #6C1660
analogous
#356C16 #166C22 #166C4D
triadic
#166C22 #22166C #6C2216
tetradic
#166C22 #16356C #6C1660 #6C4D16
square
#166C22 #16356C #6C1660 #6C4D16
split-complementary
#166C22 #4D166C #6C1635
monochromatic
#051908 #0C3912 #166C22 #209F32 #2BD242

Accessibility & contrast

On white

6.56
#166C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#166C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C22
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C22#FFFFFF#000000##FFFFFF
##166C221.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6119
Deuteranopia (green-blind)
#645B29
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c22;
/* rgb */ color: rgb(22, 108, 34);
/* oklch */ color: oklch(46.6% 0.135 144.9);
Tailwind
colors: {
  custom: {
    50: '#639761',
    500: '#166c22',
    950: '#000000',
  },
}
SCSS
$custom: #166c22;
$custom-light: #639761;
$custom-dark: #000000;
JSON
{
  "hex": "#166c22",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 34
  },
  "hsl": {
    "h": 128.372,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.13456,
    "h": 144.9
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#166C22
secondary
#A23C94
accent
#3FD1E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166C22

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

Preview Lab → · Contrast checker → · Palette generator →

#166C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva