#166D31#166D31

#166D31 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.123 H 148.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#166D31
RGBrgb(22, 109, 49)
HSLhsl(139, 66%, 26%)
HSVhsv(139, 80%, 43%)
CMYKcmyk(79.8%, 0%, 55%, 57.3%)
CIE-LABlab(40.13, -39.01, 26.33)
CIE-LCHlch(40.13, 47.07, 145.98°)
OKLaboklab(47.08% -0.1049 0.0635)
OKLCHoklch(47.08% 0.123 148.8)
XYZxyz(6.3534, 11.3289, 4.7570)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D31 #6D1652
analogous
#266D16 #166D31 #166D5C
triadic
#166D31 #31166D #6D3116
tetradic
#166D31 #16266D #6D1652 #6D5C16
square
#166D31 #16266D #6D1652 #6D5C16
split-complementary
#166D31 #5C166D #6D1626
monochromatic
#05190B #0C3A1A #166D31 #20A048 #2BD35F

Accessibility & contrast

On white

6.43
#166D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#166D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D31
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D31#FFFFFF#000000##FFFFFF
##166D311.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632C
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166d31;
/* rgb */ color: rgb(22, 109, 49);
/* oklch */ color: oklch(47.1% 0.123 148.8);
Tailwind
colors: {
  custom: {
    50: '#63986a',
    500: '#166d31',
    950: '#000000',
  },
}
SCSS
$custom: #166d31;
$custom-light: #63986a;
$custom-dark: #000000;
JSON
{
  "hex": "#166d31",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 49
  },
  "hsl": {
    "h": 138.621,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47081,
    "c": 0.12259,
    "h": 148.8
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#166D31
secondary
#A33C83
accent
#3EB4E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166D31

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

Preview Lab → · Contrast checker → · Palette generator →

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