#166018#166018

#166018 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.127 H 143.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#166018
RGBrgb(22, 96, 24)
HSLhsl(122, 63%, 23%)
HSVhsv(122, 77%, 38%)
CMYKcmyk(77.1%, 0%, 75%, 62.4%)
CIE-LABlab(35.21, -37.48, 33.18)
CIE-LCHlch(35.21, 50.05, 138.48°)
OKLaboklab(42.91% -0.1016 0.0758)
OKLCHoklch(42.91% 0.127 143.3)
XYZxyz(4.6783, 8.6017, 2.2777)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166018 #60165E
analogous
#396016 #166018 #16603D
triadic
#166018 #181660 #601816
tetradic
#166018 #163960 #60165E #603D16
square
#166018 #163960 #60165E #603D16
split-complementary
#166018 #3D1660 #601639
monochromatic
#061906 #0B2E0C #166018 #219224 #2DC431

Accessibility & contrast

On white

7.72
#166018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#166018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166018
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166018#FFFFFF#000000##FFFFFF
##1660181.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #166018;
/* rgb */ color: rgb(22, 96, 24);
/* oklch */ color: oklch(42.9% 0.127 143.3);
Tailwind
colors: {
  custom: {
    50: '#618e59',
    500: '#166018',
    950: '#000000',
  },
}
SCSS
$custom: #166018;
$custom-light: #618e59;
$custom-dark: #000000;
JSON
{
  "hex": "#166018",
  "rgb": {
    "r": 22,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 121.622,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.12677,
    "h": 143.3
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#166018
secondary
#973B94
accent
#42E1E6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #166018

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

Preview Lab → · Contrast checker → · Palette generator →

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