#166618#166618

#166618 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.134 H 143.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#166618
RGBrgb(22, 102, 24)
HSLhsl(122, 65%, 24%)
HSVhsv(122, 78%, 40%)
CMYKcmyk(78.4%, 0%, 76.5%, 60%)
CIE-LABlab(37.37, -39.66, 35.42)
CIE-LCHlch(37.37, 53.17, 138.23°)
OKLaboklab(44.71% -0.1076 0.0805)
OKLCHoklch(44.71% 0.134 143.2)
XYZxyz(5.2468, 9.7387, 2.4672)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166618 #661664
analogous
#3C6616 #166618 #166640
triadic
#166618 #181666 #661816
tetradic
#166618 #163C66 #661664 #664016
square
#166618 #163C66 #661664 #664016
split-complementary
#166618 #401666 #66163C
monochromatic
#051906 #0B340C #166618 #219824 #2CCB30

Accessibility & contrast

On white

7.12
#166618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#166618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166618
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166618#FFFFFF#000000##FFFFFF
##1666181.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0A
Deuteranopia (green-blind)
#5F5620
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #166618;
/* rgb */ color: rgb(22, 102, 24);
/* oklch */ color: oklch(44.7% 0.134 143.2);
Tailwind
colors: {
  custom: {
    50: '#62935a',
    500: '#166618',
    950: '#000000',
  },
}
SCSS
$custom: #166618;
$custom-light: #62935a;
$custom-dark: #000000;
JSON
{
  "hex": "#166618",
  "rgb": {
    "r": 22,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 121.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44705,
    "c": 0.13433,
    "h": 143.2
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#166618
secondary
#9D3B9A
accent
#40E3E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166618

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

Preview Lab → · Contrast checker → · Palette generator →

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