#166815#166815

#166815 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.139 H 142.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#166815
RGBrgb(22, 104, 21)
HSLhsl(119, 66%, 25%)
HSVhsv(119, 80%, 41%)
CMYKcmyk(78.8%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.07, -40.63, 37.31)
CIE-LCHlch(38.07, 55.16, 137.44°)
OKLaboklab(45.28% -0.1103 0.084)
OKLCHoklch(45.28% 0.139 142.7)
XYZxyz(5.4162, 10.1247, 2.3781)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166815 #671568
analogous
#406815 #166815 #15683E
triadic
#166815 #151668 #681516
tetradic
#166815 #154068 #671568 #683E15
square
#166815 #154068 #671568 #683E15
split-complementary
#166815 #3E1568 #681540
monochromatic
#051905 #0B350B #166815 #219B1F #2CCE2A

Accessibility & contrast

On white

6.94
#166815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#166815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166815
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166815#FFFFFF#000000##FFFFFF
##1668151.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166815;
/* rgb */ color: rgb(22, 104, 21);
/* oklch */ color: oklch(45.3% 0.139 142.7);
Tailwind
colors: {
  custom: {
    50: '#639459',
    500: '#166815',
    950: '#000000',
  },
}
SCSS
$custom: #166815;
$custom-light: #639459;
$custom-dark: #000000;
JSON
{
  "hex": "#166815",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 119.277,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45277,
    "c": 0.13867,
    "h": 142.7
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#166815
secondary
#9E3A9F
accent
#3EE9E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166815

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

Preview Lab → · Contrast checker → · Palette generator →

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