#166F31#166F31

#166F31 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.125 H 148.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#166F31
RGBrgb(22, 111, 49)
HSLhsl(138, 67%, 26%)
HSVhsv(138, 80%, 44%)
CMYKcmyk(80.2%, 0%, 55.9%, 56.5%)
CIE-LABlab(40.83, -39.78, 27.19)
CIE-LCHlch(40.83, 48.18, 145.64°)
OKLaboklab(47.66% -0.1069 0.0654)
OKLCHoklch(47.66% 0.125 148.5)
XYZxyz(6.5692, 11.7604, 4.8289)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F31 #6F1654
analogous
#276F16 #166F31 #166F5D
triadic
#166F31 #31166F #6F3116
tetradic
#166F31 #16276F #6F1654 #6F5D16
square
#166F31 #16276F #6F1654 #6F5D16
split-complementary
#166F31 #5D166F #6F1627
monochromatic
#051A0B #0C3C1A #166F31 #20A248 #2BD55E

Accessibility & contrast

On white

6.26
#166F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#166F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F31
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F31#FFFFFF#000000##FFFFFF
##166F311.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70652B
Deuteranopia (green-blind)
#665D36
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f31;
/* rgb */ color: rgb(22, 111, 49);
/* oklch */ color: oklch(47.7% 0.125 148.5);
Tailwind
colors: {
  custom: {
    50: '#63996b',
    500: '#166f31',
    950: '#000000',
  },
}
SCSS
$custom: #166f31;
$custom-light: #63996b;
$custom-dark: #000000;
JSON
{
  "hex": "#166f31",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 49
  },
  "hsl": {
    "h": 138.202,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.12533,
    "h": 148.5
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#166F31
secondary
#A53C85
accent
#3EB6EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166F31

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

Preview Lab → · Contrast checker → · Palette generator →

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