#166418#166418

#166418 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.1% C 0.132 H 143.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#166418
RGBrgb(22, 100, 24)
HSLhsl(122, 64%, 24%)
HSVhsv(122, 78%, 39%)
CMYKcmyk(78%, 0%, 76%, 60.8%)
CIE-LABlab(36.65, -38.94, 34.68)
CIE-LCHlch(36.65, 52.14, 138.31°)
OKLaboklab(44.11% -0.1056 0.0789)
OKLCHoklch(44.11% 0.132 143.2)
XYZxyz(5.0526, 9.3503, 2.4025)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166418 #641662
analogous
#3B6416 #166418 #16643F
triadic
#166418 #181664 #641816
tetradic
#166418 #163B64 #641662 #643F16
square
#166418 #163B64 #641662 #643F16
split-complementary
#166418 #3F1664 #64163B
monochromatic
#061906 #0B320C #166418 #219624 #2CC830

Accessibility & contrast

On white

7.32
#166418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#166418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166418
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166418#FFFFFF#000000##FFFFFF
##1664181.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#5D5420
Tritanopia (blue-blind)
#006155
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #166418;
/* rgb */ color: rgb(22, 100, 24);
/* oklch */ color: oklch(44.1% 0.132 143.2);
Tailwind
colors: {
  custom: {
    50: '#62915a',
    500: '#166418',
    950: '#000000',
  },
}
SCSS
$custom: #166418;
$custom-light: #62915a;
$custom-dark: #000000;
JSON
{
  "hex": "#166418",
  "rgb": {
    "r": 22,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 121.538,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44108,
    "c": 0.13183,
    "h": 143.2
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#166418
secondary
#9B3B98
accent
#41E3E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166418

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

Preview Lab → · Contrast checker → · Palette generator →

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