#166C31#166C31

#166C31 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.121 H 148.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#166C31
RGBrgb(22, 108, 49)
HSLhsl(139, 66%, 25%)
HSVhsv(139, 80%, 42%)
CMYKcmyk(79.6%, 0%, 54.6%, 57.6%)
CIE-LABlab(39.78, -38.63, 25.90)
CIE-LCHlch(39.78, 46.51, 146.16°)
OKLaboklab(46.79% -0.1038 0.0625)
OKLCHoklch(46.79% 0.121 148.9)
XYZxyz(6.2473, 11.1167, 4.7216)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C31 #6C1651
analogous
#266C16 #166C31 #166C5C
triadic
#166C31 #31166C #6C3116
tetradic
#166C31 #16266C #6C1651 #6C5C16
square
#166C31 #16266C #6C1651 #6C5C16
split-complementary
#166C31 #5C166C #6C1626
monochromatic
#05190C #0C391A #166C31 #209F48 #2BD25F

Accessibility & contrast

On white

6.51
#166C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#166C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C31
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C31#FFFFFF#000000##FFFFFF
##166C311.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622C
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166c31;
/* rgb */ color: rgb(22, 108, 49);
/* oklch */ color: oklch(46.8% 0.121 148.9);
Tailwind
colors: {
  custom: {
    50: '#63976a',
    500: '#166c31',
    950: '#000000',
  },
}
SCSS
$custom: #166c31;
$custom-light: #63976a;
$custom-dark: #000000;
JSON
{
  "hex": "#166c31",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 49
  },
  "hsl": {
    "h": 138.837,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46789,
    "c": 0.12121,
    "h": 148.9
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#166C31
secondary
#A23C82
accent
#3FB4E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166C31

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

Preview Lab → · Contrast checker → · Palette generator →

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