#166D15#166D15

#166D15 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.145 H 142.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#166D15
RGBrgb(22, 109, 21)
HSLhsl(119, 68%, 25%)
HSVhsv(119, 81%, 43%)
CMYKcmyk(79.8%, 0%, 80.7%, 57.3%)
CIE-LABlab(39.85, -42.38, 39.07)
CIE-LCHlch(39.85, 57.64, 137.33°)
OKLaboklab(46.76% -0.1151 0.0876)
OKLCHoklch(46.76% 0.145 142.7)
XYZxyz(5.9345, 11.1613, 2.5509)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D15 #6C156D
analogous
#426D15 #166D15 #156D40
triadic
#166D15 #15166D #6D1516
tetradic
#166D15 #15426D #6C156D #6D4015
square
#166D15 #15426D #6C156D #6D4015
split-complementary
#166D15 #40156D #6D1542
monochromatic
#051A05 #0C3A0B #166D15 #20A01F #2BD429

Accessibility & contrast

On white

6.50
#166D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#166D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D15
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D15#FFFFFF#000000##FFFFFF
##166D151.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706202
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#006A5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d15;
/* rgb */ color: rgb(22, 109, 21);
/* oklch */ color: oklch(46.8% 0.145 142.7);
Tailwind
colors: {
  custom: {
    50: '#64985a',
    500: '#166d15',
    950: '#000000',
  },
}
SCSS
$custom: #166d15;
$custom-light: #64985a;
$custom-dark: #000000;
JSON
{
  "hex": "#166d15",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 119.318,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.14465,
    "h": 142.7
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#166D15
secondary
#A23AA3
accent
#3DEBE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166D15

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

Preview Lab → · Contrast checker → · Palette generator →

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