#166918#166918

#166918 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.138 H 143.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#166918
RGBrgb(22, 105, 24)
HSLhsl(121, 65%, 25%)
HSVhsv(121, 79%, 41%)
CMYKcmyk(79%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.44, -40.73, 36.52)
CIE-LCHlch(38.44, 54.70, 138.12°)
OKLaboklab(45.6% -0.1105 0.0828)
OKLCHoklch(45.6% 0.138 143.2)
XYZxyz(5.5470, 10.3390, 2.5673)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166918 #691667
analogous
#3D6916 #166918 #166942
triadic
#166918 #181669 #691816
tetradic
#166918 #163D69 #691667 #694216
square
#166918 #163D69 #691667 #694216
split-complementary
#166918 #421669 #69163D
monochromatic
#051906 #0B360C #166918 #219C24 #2BCE2F

Accessibility & contrast

On white

6.84
#166918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#166918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166918
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166918#FFFFFF#000000##FFFFFF
##1669181.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166918;
/* rgb */ color: rgb(22, 105, 24);
/* oklch */ color: oklch(45.6% 0.138 143.2);
Tailwind
colors: {
  custom: {
    50: '#63955b',
    500: '#166918',
    950: '#000000',
  },
}
SCSS
$custom: #166918;
$custom-light: #63955b;
$custom-dark: #000000;
JSON
{
  "hex": "#166918",
  "rgb": {
    "r": 22,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 121.446,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45598,
    "c": 0.13802,
    "h": 143.2
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#166918
secondary
#9F3B9D
accent
#3FE4E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166918

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

Preview Lab → · Contrast checker → · Palette generator →

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