#166118#166118

#166118 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.2% C 0.128 H 143.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#166118
RGBrgb(22, 97, 24)
HSLhsl(122, 63%, 23%)
HSVhsv(122, 77%, 38%)
CMYKcmyk(77.3%, 0%, 75.3%, 62%)
CIE-LABlab(35.57, -37.84, 33.56)
CIE-LCHlch(35.57, 50.58, 138.44°)
OKLaboklab(43.21% -0.1026 0.0766)
OKLCHoklch(43.21% 0.128 143.3)
XYZxyz(4.7701, 8.7854, 2.3083)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166118 #61165F
analogous
#396116 #166118 #16613D
triadic
#166118 #181661 #611816
tetradic
#166118 #163961 #61165F #613D16
square
#166118 #163961 #61165F #613D16
split-complementary
#166118 #3D1661 #611639
monochromatic
#061906 #0B2F0C #166118 #219324 #2DC531

Accessibility & contrast

On white

7.62
#166118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#166118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166118
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166118#FFFFFF#000000##FFFFFF
##1661181.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570C
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #166118;
/* rgb */ color: rgb(22, 97, 24);
/* oklch */ color: oklch(43.2% 0.128 143.3);
Tailwind
colors: {
  custom: {
    50: '#618f5a',
    500: '#166118',
    950: '#000000',
  },
}
SCSS
$custom: #166118;
$custom-light: #618f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#166118",
  "rgb": {
    "r": 22,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 121.6,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.12805,
    "h": 143.3
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#166118
secondary
#983B95
accent
#42E2E6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #166118

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

Preview Lab → · Contrast checker → · Palette generator →

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