#166A15#166A15

#166A15 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.141 H 142.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#166A15
RGBrgb(22, 106, 21)
HSLhsl(119, 67%, 25%)
HSVhsv(119, 80%, 42%)
CMYKcmyk(79.2%, 0%, 80.2%, 58.4%)
CIE-LABlab(38.78, -41.33, 38.02)
CIE-LCHlch(38.78, 56.16, 137.39°)
OKLaboklab(45.87% -0.1122 0.0855)
OKLCHoklch(45.87% 0.141 142.7)
XYZxyz(5.6199, 10.5321, 2.4460)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A15 #69156A
analogous
#416A15 #166A15 #156A3E
triadic
#166A15 #15166A #6A1516
tetradic
#166A15 #15416A #69156A #6A3E15
square
#166A15 #15416A #69156A #6A3E15
split-complementary
#166A15 #3E156A #6A1541
monochromatic
#051A05 #0B370B #166A15 #219D1F #2BD029

Accessibility & contrast

On white

6.76
#166A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#166A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A15
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A15#FFFFFF#000000##FFFFFF
##166A151.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166a15;
/* rgb */ color: rgb(22, 106, 21);
/* oklch */ color: oklch(45.9% 0.141 142.7);
Tailwind
colors: {
  custom: {
    50: '#649659',
    500: '#166a15',
    950: '#000000',
  },
}
SCSS
$custom: #166a15;
$custom-light: #649659;
$custom-dark: #000000;
JSON
{
  "hex": "#166a15",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 119.294,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.14107,
    "h": 142.7
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#166A15
secondary
#9F3AA1
accent
#3EEAE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166A15

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

Preview Lab → · Contrast checker → · Palette generator →

#166A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva