#166D18#166D18

#166D18 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.143 H 143.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#166D18
RGBrgb(22, 109, 24)
HSLhsl(121, 66%, 26%)
HSVhsv(121, 80%, 43%)
CMYKcmyk(79.8%, 0%, 78%, 57.3%)
CIE-LABlab(39.87, -42.13, 37.96)
CIE-LCHlch(39.87, 56.71, 137.98°)
OKLaboklab(46.78% -0.1143 0.0858)
OKLCHoklch(46.78% 0.143 143.1)
XYZxyz(5.9640, 11.1731, 2.7063)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D18 #6D166B
analogous
#3F6D16 #166D18 #166D43
triadic
#166D18 #18166D #6D1816
tetradic
#166D18 #163F6D #6D166B #6D4316
square
#166D18 #163F6D #6D166B #6D4316
split-complementary
#166D18 #43166D #6D163F
monochromatic
#051906 #0C3A0D #166D18 #20A023 #2BD32E

Accessibility & contrast

On white

6.49
#166D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#166D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D18
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D18#FFFFFF#000000##FFFFFF
##166D181.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d18;
/* rgb */ color: rgb(22, 109, 24);
/* oklch */ color: oklch(46.8% 0.143 143.1);
Tailwind
colors: {
  custom: {
    50: '#64985b',
    500: '#166d18',
    950: '#000000',
  },
}
SCSS
$custom: #166d18;
$custom-light: #64985b;
$custom-dark: #000000;
JSON
{
  "hex": "#166d18",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 121.379,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.14288,
    "h": 143.1
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#166D18
secondary
#A33CA1
accent
#3EE5E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166D18

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

Preview Lab → · Contrast checker → · Palette generator →

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