#166B38#166B38

#166B38 is a mid, moderate green. Relative luminance 0.110; OKLCH L 46.6% C 0.113 H 151.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#166B38
RGBrgb(22, 107, 56)
HSLhsl(144, 66%, 25%)
HSVhsv(144, 79%, 42%)
CMYKcmyk(79.4%, 0%, 47.7%, 58%)
CIE-LABlab(39.53, -36.99, 21.69)
CIE-LCHlch(39.53, 42.88, 149.61°)
OKLaboklab(46.62% -0.0995 0.0533)
OKLCHoklch(46.62% 0.113 151.8)
XYZxyz(6.3018, 10.9707, 5.5261)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B38 #6B1649
analogous
#1F6B16 #166B38 #166B62
triadic
#166B38 #38166B #6B3816
tetradic
#166B38 #161F6B #6B1649 #6B6216
square
#166B38 #161F6B #6B1649 #6B6216
split-complementary
#166B38 #62166B #6B161F
monochromatic
#05190D #0C381D #166B38 #209E53 #2BD16D

Accessibility & contrast

On white

6.57
#166B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#166B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B38
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B38#FFFFFF#000000##FFFFFF
##166B381.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6134
Deuteranopia (green-blind)
#615A3C
Tritanopia (blue-blind)
#00695F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166b38;
/* rgb */ color: rgb(22, 107, 56);
/* oklch */ color: oklch(46.6% 0.113 151.8);
Tailwind
colors: {
  custom: {
    50: '#62966f',
    500: '#166b38',
    950: '#000000',
  },
}
SCSS
$custom: #166b38;
$custom-light: #62966f;
$custom-dark: #000000;
JSON
{
  "hex": "#166b38",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 56
  },
  "hsl": {
    "h": 144,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46621,
    "c": 0.11286,
    "h": 151.8
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#166B38
secondary
#A13B79
accent
#3FA5E9
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166B38

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

Preview Lab → · Contrast checker → · Palette generator →

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