#166F2D#166F2D

#166F2D is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.129 H 147.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#166F2D
RGBrgb(22, 111, 45)
HSLhsl(136, 67%, 26%)
HSVhsv(136, 80%, 44%)
CMYKcmyk(80.2%, 0%, 59.5%, 56.5%)
CIE-LABlab(40.78, -40.40, 29.25)
CIE-LCHlch(40.78, 49.87, 144.10°)
OKLaboklab(47.6% -0.1087 0.0696)
OKLCHoklch(47.6% 0.129 147.4)
XYZxyz(6.4885, 11.7281, 4.4039)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F2D #6F1658
analogous
#2B6F16 #166F2D #166F59
triadic
#166F2D #2D166F #6F2D16
tetradic
#166F2D #162B6F #6F1658 #6F5916
square
#166F2D #162B6F #6F1658 #6F5916
split-complementary
#166F2D #59166F #6F162B
monochromatic
#051A0A #0C3C18 #166F2D #20A242 #2BD557

Accessibility & contrast

On white

6.28
#166F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#166F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F2D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F2D#FFFFFF#000000##FFFFFF
##166F2D1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f2d;
/* rgb */ color: rgb(22, 111, 45);
/* oklch */ color: oklch(47.6% 0.129 147.4);
Tailwind
colors: {
  custom: {
    50: '#649968',
    500: '#166f2d',
    950: '#000000',
  },
}
SCSS
$custom: #166f2d;
$custom-light: #649968;
$custom-dark: #000000;
JSON
{
  "hex": "#166f2d",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 135.506,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47604,
    "c": 0.12906,
    "h": 147.4
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#166F2D
secondary
#A53C8A
accent
#3EBDEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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