#166718#166718

#166718 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.136 H 143.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#166718
RGBrgb(22, 103, 24)
HSLhsl(121, 65%, 25%)
HSVhsv(121, 79%, 40%)
CMYKcmyk(78.6%, 0%, 76.7%, 59.6%)
CIE-LABlab(37.73, -40.02, 35.79)
CIE-LCHlch(37.73, 53.69, 138.19°)
OKLaboklab(45% -0.1085 0.0812)
OKLCHoklch(45% 0.136 143.2)
XYZxyz(5.3457, 9.9364, 2.5002)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166718 #671665
analogous
#3D6716 #166718 #166740
triadic
#166718 #181667 #671816
tetradic
#166718 #163D67 #671665 #674016
square
#166718 #163D67 #671665 #674016
split-complementary
#166718 #401667 #67163D
monochromatic
#051906 #0B350C #166718 #219924 #2CCC2F

Accessibility & contrast

On white

7.03
#166718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#166718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166718
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166718#FFFFFF#000000##FFFFFF
##1667181.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166718;
/* rgb */ color: rgb(22, 103, 24);
/* oklch */ color: oklch(45.0% 0.136 143.2);
Tailwind
colors: {
  custom: {
    50: '#63935a',
    500: '#166718',
    950: '#000000',
  },
}
SCSS
$custom: #166718;
$custom-light: #63935a;
$custom-dark: #000000;
JSON
{
  "hex": "#166718",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 121.481,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45003,
    "c": 0.13557,
    "h": 143.2
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#166718
secondary
#9E3B9B
accent
#40E4E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166718

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

Preview Lab → · Contrast checker → · Palette generator →

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