#166A18#166A18

#166A18 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.139 H 143.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#166A18
RGBrgb(22, 106, 24)
HSLhsl(121, 66%, 25%)
HSVhsv(121, 79%, 42%)
CMYKcmyk(79.2%, 0%, 77.4%, 58.4%)
CIE-LABlab(38.80, -41.08, 36.88)
CIE-LCHlch(38.80, 55.21, 138.08°)
OKLaboklab(45.9% -0.1114 0.0835)
OKLCHoklch(45.9% 0.139 143.1)
XYZxyz(5.6494, 10.5439, 2.6014)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A18 #6A1668
analogous
#3E6A16 #166A18 #166A42
triadic
#166A18 #18166A #6A1816
tetradic
#166A18 #163E6A #6A1668 #6A4216
square
#166A18 #163E6A #6A1668 #6A4216
split-complementary
#166A18 #42166A #6A163E
monochromatic
#051906 #0B370D #166A18 #219D23 #2BCF2F

Accessibility & contrast

On white

6.75
#166A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#166A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A18
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A18#FFFFFF#000000##FFFFFF
##166A181.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166a18;
/* rgb */ color: rgb(22, 106, 24);
/* oklch */ color: oklch(45.9% 0.139 143.1);
Tailwind
colors: {
  custom: {
    50: '#63965b',
    500: '#166a18',
    950: '#000000',
  },
}
SCSS
$custom: #166a18;
$custom-light: #63965b;
$custom-dark: #000000;
JSON
{
  "hex": "#166a18",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 121.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.13925,
    "h": 143.1
  },
  "luminance": 0.10545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166A18

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

Preview Lab → · Contrast checker → · Palette generator →

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