#166A26#166A26

#166A26 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.129 H 145.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#166A26
RGBrgb(22, 106, 38)
HSLhsl(131, 66%, 25%)
HSVhsv(131, 79%, 42%)
CMYKcmyk(79.2%, 0%, 64.2%, 58.4%)
CIE-LABlab(38.93, -39.53, 30.66)
CIE-LCHlch(38.93, 50.03, 142.20°)
OKLaboklab(46.04% -0.1065 0.0721)
OKLCHoklch(46.04% 0.129 145.9)
XYZxyz(5.8343, 10.6179, 3.5753)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A26 #6A165A
analogous
#306A16 #166A26 #166A50
triadic
#166A26 #26166A #6A2616
tetradic
#166A26 #16306A #6A165A #6A5016
square
#166A26 #16306A #6A165A #6A5016
split-complementary
#166A26 #50166A #6A1630
monochromatic
#051909 #0B3714 #166A26 #219D38 #2BCF4A

Accessibility & contrast

On white

6.72
#166A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#166A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A26
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A26#FFFFFF#000000##FFFFFF
##166A261.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166a26;
/* rgb */ color: rgb(22, 106, 38);
/* oklch */ color: oklch(46.0% 0.129 145.9);
Tailwind
colors: {
  custom: {
    50: '#639563',
    500: '#166a26',
    950: '#000000',
  },
}
SCSS
$custom: #166a26;
$custom-light: #639563;
$custom-dark: #000000;
JSON
{
  "hex": "#166a26",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 38
  },
  "hsl": {
    "h": 131.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46042,
    "c": 0.12863,
    "h": 145.9
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#166A26
secondary
#A03B8D
accent
#3FC8E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166A26

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

Preview Lab → · Contrast checker → · Palette generator →

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