#166C18#166C18

#166C18 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.142 H 143.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#166C18
RGBrgb(22, 108, 24)
HSLhsl(121, 66%, 25%)
HSVhsv(121, 80%, 42%)
CMYKcmyk(79.6%, 0%, 77.8%, 57.6%)
CIE-LABlab(39.51, -41.79, 37.60)
CIE-LCHlch(39.51, 56.21, 138.02°)
OKLaboklab(46.49% -0.1133 0.085)
OKLCHoklch(46.49% 0.142 143.1)
XYZxyz(5.8579, 10.9610, 2.6709)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C18 #6C166A
analogous
#3F6C16 #166C18 #166C43
triadic
#166C18 #18166C #6C1816
tetradic
#166C18 #163F6C #6C166A #6C4316
square
#166C18 #163F6C #6C166A #6C4316
split-complementary
#166C18 #43166C #6C163F
monochromatic
#051906 #0C390D #166C18 #209F23 #2BD22F

Accessibility & contrast

On white

6.58
#166C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#166C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C18
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C18#FFFFFF#000000##FFFFFF
##166C181.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c18;
/* rgb */ color: rgb(22, 108, 24);
/* oklch */ color: oklch(46.5% 0.142 143.1);
Tailwind
colors: {
  custom: {
    50: '#64975b',
    500: '#166c18',
    950: '#000000',
  },
}
SCSS
$custom: #166c18;
$custom-light: #64975b;
$custom-dark: #000000;
JSON
{
  "hex": "#166c18",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 121.395,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46487,
    "c": 0.14167,
    "h": 143.1
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#166C18
secondary
#A23CA0
accent
#3FE5E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166C18

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

Preview Lab → · Contrast checker → · Palette generator →

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