#166715#166715

#166715 is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.137 H 142.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#166715
RGBrgb(22, 103, 21)
HSLhsl(119, 66%, 24%)
HSVhsv(119, 80%, 40%)
CMYKcmyk(78.6%, 0%, 79.6%, 59.6%)
CIE-LABlab(37.71, -40.28, 36.95)
CIE-LCHlch(37.71, 54.66, 137.46°)
OKLaboklab(44.98% -0.1094 0.0832)
OKLCHoklch(44.98% 0.137 142.7)
XYZxyz(5.3162, 9.9246, 2.3448)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166715 #661567
analogous
#3F6715 #166715 #15673D
triadic
#166715 #151667 #671516
tetradic
#166715 #153F67 #661567 #673D15
square
#166715 #153F67 #661567 #673D15
split-complementary
#166715 #3D1567 #67153F
monochromatic
#051905 #0B340B #166715 #219A1F #2CCD2A

Accessibility & contrast

On white

7.04
#166715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166715
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166715#FFFFFF#000000##FFFFFF
##1667151.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D04
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166715;
/* rgb */ color: rgb(22, 103, 21);
/* oklch */ color: oklch(45.0% 0.137 142.7);
Tailwind
colors: {
  custom: {
    50: '#639359',
    500: '#166715',
    950: '#000000',
  },
}
SCSS
$custom: #166715;
$custom-light: #639359;
$custom-dark: #000000;
JSON
{
  "hex": "#166715",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 119.268,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.13746,
    "h": 142.7
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#166715
secondary
#9D3A9E
accent
#3FE9E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166715

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

Preview Lab → · Contrast checker → · Palette generator →

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