#166A29#166A29

#166A29 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.126 H 146.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#166A29
RGBrgb(22, 106, 41)
HSLhsl(134, 66%, 25%)
HSVhsv(134, 79%, 42%)
CMYKcmyk(79.2%, 0%, 61.3%, 58.4%)
CIE-LABlab(38.96, -39.11, 29.17)
CIE-LCHlch(38.96, 48.79, 143.28°)
OKLaboklab(46.08% -0.1053 0.0692)
OKLCHoklch(46.08% 0.126 146.7)
XYZxyz(5.8847, 10.6381, 3.8406)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A29 #6A1657
analogous
#2D6A16 #166A29 #166A53
triadic
#166A29 #29166A #6A2916
tetradic
#166A29 #162D6A #6A1657 #6A5316
square
#166A29 #162D6A #6A1657 #6A5316
split-complementary
#166A29 #53166A #6A162D
monochromatic
#05190A #0B3715 #166A29 #219D3D #2BCF50

Accessibility & contrast

On white

6.71
#166A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#166A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A29
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A29#FFFFFF#000000##FFFFFF
##166A291.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6022
Deuteranopia (green-blind)
#62592E
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a29;
/* rgb */ color: rgb(22, 106, 41);
/* oklch */ color: oklch(46.1% 0.126 146.7);
Tailwind
colors: {
  custom: {
    50: '#629565',
    500: '#166a29',
    950: '#000000',
  },
}
SCSS
$custom: #166a29;
$custom-light: #629565;
$custom-dark: #000000;
JSON
{
  "hex": "#166a29",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 41
  },
  "hsl": {
    "h": 133.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.12598,
    "h": 146.7
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#166A29
secondary
#A03B8A
accent
#3FC2E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A29

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

Preview Lab → · Contrast checker → · Palette generator →

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