#166931#166931

#166931 is a mid, moderate green. Relative luminance 0.105; OKLCH L 45.9% C 0.117 H 149.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#166931
RGBrgb(22, 105, 49)
HSLhsl(140, 65%, 25%)
HSVhsv(140, 79%, 41%)
CMYKcmyk(79%, 0%, 53.3%, 58.8%)
CIE-LABlab(38.72, -37.47, 24.59)
CIE-LCHlch(38.72, 44.82, 146.72°)
OKLaboklab(45.91% -0.1007 0.0596)
OKLCHoklch(45.91% 0.117 149.4)
XYZxyz(5.9363, 10.4948, 4.6180)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166931 #69164E
analogous
#256916 #166931 #16695A
triadic
#166931 #311669 #693116
tetradic
#166931 #162569 #69164E #695A16
square
#166931 #162569 #69164E #695A16
split-complementary
#166931 #5A1669 #691625
monochromatic
#05190C #0B3619 #166931 #219C49 #2BCE60

Accessibility & contrast

On white

6.78
#166931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#166931 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166931
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166931#FFFFFF#000000##FFFFFF
##1669311.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2C
Deuteranopia (green-blind)
#605835
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166931;
/* rgb */ color: rgb(22, 105, 49);
/* oklch */ color: oklch(45.9% 0.117 149.4);
Tailwind
colors: {
  custom: {
    50: '#62956a',
    500: '#166931',
    950: '#000000',
  },
}
SCSS
$custom: #166931;
$custom-light: #62956a;
$custom-dark: #000000;
JSON
{
  "hex": "#166931",
  "rgb": {
    "r": 22,
    "g": 105,
    "b": 49
  },
  "hsl": {
    "h": 139.518,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.11703,
    "h": 149.4
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#166931
secondary
#9F3B7F
accent
#3FB1E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166931

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

Preview Lab → · Contrast checker → · Palette generator →

#166931 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva