#166A31#166A31

#166A31 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.2% C 0.118 H 149.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#166A31
RGBrgb(22, 106, 49)
HSLhsl(139, 66%, 25%)
HSVhsv(139, 79%, 42%)
CMYKcmyk(79.2%, 0%, 53.8%, 58.4%)
CIE-LABlab(39.07, -37.86, 25.03)
CIE-LCHlch(39.07, 45.38, 146.53°)
OKLaboklab(46.2% -0.1018 0.0606)
OKLCHoklch(46.2% 0.118 149.2)
XYZxyz(6.0388, 10.6997, 4.6521)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A31 #6A164F
analogous
#256A16 #166A31 #166A5B
triadic
#166A31 #31166A #6A3116
tetradic
#166A31 #16256A #6A164F #6A5B16
square
#166A31 #16256A #6A164F #6A5B16
split-complementary
#166A31 #5B166A #6A1625
monochromatic
#05190C #0B371A #166A31 #219D48 #2BCF60

Accessibility & contrast

On white

6.69
#166A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#166A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A31
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A31#FFFFFF#000000##FFFFFF
##166A311.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602C
Deuteranopia (green-blind)
#615935
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a31;
/* rgb */ color: rgb(22, 106, 49);
/* oklch */ color: oklch(46.2% 0.118 149.2);
Tailwind
colors: {
  custom: {
    50: '#62956a',
    500: '#166a31',
    950: '#000000',
  },
}
SCSS
$custom: #166a31;
$custom-light: #62956a;
$custom-dark: #000000;
JSON
{
  "hex": "#166a31",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 49
  },
  "hsl": {
    "h": 139.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46204,
    "c": 0.11843,
    "h": 149.2
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#166A31
secondary
#A03B80
accent
#3FB2E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A31

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

Preview Lab → · Contrast checker → · Palette generator →

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