#166C26#166C26

#166C26 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.131 H 145.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#166C26
RGBrgb(22, 108, 38)
HSLhsl(131, 66%, 25%)
HSVhsv(131, 80%, 42%)
CMYKcmyk(79.6%, 0%, 64.8%, 57.6%)
CIE-LABlab(39.64, -40.26, 31.47)
CIE-LCHlch(39.64, 51.11, 141.99°)
OKLaboklab(46.63% -0.1085 0.0738)
OKLCHoklch(46.63% 0.131 145.8)
XYZxyz(6.0429, 11.0349, 3.6448)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C26 #6C165C
analogous
#316C16 #166C26 #166C51
triadic
#166C26 #26166C #6C2616
tetradic
#166C26 #16316C #6C165C #6C5116
square
#166C26 #16316C #6C165C #6C5116
split-complementary
#166C26 #51166C #6C1631
monochromatic
#051909 #0C3914 #166C26 #209F38 #2BD24A

Accessibility & contrast

On white

6.55
#166C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#166C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C26
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C26#FFFFFF#000000##FFFFFF
##166C261.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E611E
Deuteranopia (green-blind)
#645B2C
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c26;
/* rgb */ color: rgb(22, 108, 38);
/* oklch */ color: oklch(46.6% 0.131 145.8);
Tailwind
colors: {
  custom: {
    50: '#639763',
    500: '#166c26',
    950: '#000000',
  },
}
SCSS
$custom: #166c26;
$custom-light: #639763;
$custom-dark: #000000;
JSON
{
  "hex": "#166c26",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 38
  },
  "hsl": {
    "h": 131.163,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.13127,
    "h": 145.8
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#166C26
secondary
#A23C8F
accent
#3FC9E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166C26

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

Preview Lab → · Contrast checker → · Palette generator →

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