#166B26#166B26

#166B26 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.130 H 145.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#166B26
RGBrgb(22, 107, 38)
HSLhsl(131, 66%, 25%)
HSVhsv(131, 79%, 42%)
CMYKcmyk(79.4%, 0%, 64.5%, 58%)
CIE-LABlab(39.28, -39.90, 31.07)
CIE-LCHlch(39.28, 50.57, 142.09°)
OKLaboklab(46.34% -0.1075 0.073)
OKLCHoklch(46.34% 0.13 145.8)
XYZxyz(5.9380, 10.8252, 3.6099)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B26 #6B165B
analogous
#316B16 #166B26 #166B50
triadic
#166B26 #26166B #6B2616
tetradic
#166B26 #16316B #6B165B #6B5016
square
#166B26 #16316B #6B165B #6B5016
split-complementary
#166B26 #50166B #6B1631
monochromatic
#051909 #0C3814 #166B26 #209E38 #2BD14A

Accessibility & contrast

On white

6.63
#166B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#166B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B26
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B26#FFFFFF#000000##FFFFFF
##166B261.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611E
Deuteranopia (green-blind)
#635A2C
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166b26;
/* rgb */ color: rgb(22, 107, 38);
/* oklch */ color: oklch(46.3% 0.130 145.8);
Tailwind
colors: {
  custom: {
    50: '#639663',
    500: '#166b26',
    950: '#000000',
  },
}
SCSS
$custom: #166b26;
$custom-light: #639663;
$custom-dark: #000000;
JSON
{
  "hex": "#166b26",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 38
  },
  "hsl": {
    "h": 131.294,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.12995,
    "h": 145.8
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166B26

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

Preview Lab → · Contrast checker → · Palette generator →

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