#166F21#166F21

#166F21 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.139 H 144.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#166F21
RGBrgb(22, 111, 33)
HSLhsl(127, 67%, 26%)
HSVhsv(127, 80%, 44%)
CMYKcmyk(80.2%, 0%, 70.3%, 56.5%)
CIE-LABlab(40.65, -41.95, 34.97)
CIE-LCHlch(40.65, 54.62, 140.19°)
OKLaboklab(47.46% -0.1133 0.0807)
OKLCHoklch(47.46% 0.139 144.5)
XYZxyz(6.2894, 11.6485, 3.3555)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F21 #6F1664
analogous
#376F16 #166F21 #166F4D
triadic
#166F21 #21166F #6F2116
tetradic
#166F21 #16376F #6F1664 #6F4D16
square
#166F21 #16376F #6F1664 #6F4D16
split-complementary
#166F21 #4D166F #6F1637
monochromatic
#051A08 #0C3C12 #166F21 #20A230 #2BD540

Accessibility & contrast

On white

6.31
#166F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#166F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F21
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F21#FFFFFF#000000##FFFFFF
##166F211.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716417
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f21;
/* rgb */ color: rgb(22, 111, 33);
/* oklch */ color: oklch(47.5% 0.139 144.5);
Tailwind
colors: {
  custom: {
    50: '#649960',
    500: '#166f21',
    950: '#000000',
  },
}
SCSS
$custom: #166f21;
$custom-light: #649960;
$custom-dark: #000000;
JSON
{
  "hex": "#166f21",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 33
  },
  "hsl": {
    "h": 127.416,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47455,
    "c": 0.13914,
    "h": 144.5
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#166F21
secondary
#A53C98
accent
#3ED5EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166F21

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

Preview Lab → · Contrast checker → · Palette generator →

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