#166731#166731

#166731 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.3% C 0.114 H 149.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#166731
RGBrgb(22, 103, 49)
HSLhsl(140, 65%, 25%)
HSVhsv(140, 79%, 40%)
CMYKcmyk(78.6%, 0%, 52.4%, 59.6%)
CIE-LABlab(38.01, -36.68, 23.71)
CIE-LCHlch(38.01, 43.67, 147.12°)
OKLaboklab(45.33% -0.0986 0.0576)
OKLCHoklch(45.33% 0.114 149.7)
XYZxyz(5.7350, 10.0922, 4.5509)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166731 #67164C
analogous
#246716 #166731 #16675A
triadic
#166731 #311667 #673116
tetradic
#166731 #162467 #67164C #675A16
square
#166731 #162467 #67164C #675A16
split-complementary
#166731 #5A1667 #671624
monochromatic
#05190C #0B3519 #166731 #219949 #2CCC61

Accessibility & contrast

On white

6.96
#166731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#166731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166731
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166731#FFFFFF#000000##FFFFFF
##1667311.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D2D
Deuteranopia (green-blind)
#5E5735
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166731;
/* rgb */ color: rgb(22, 103, 49);
/* oklch */ color: oklch(45.3% 0.114 149.7);
Tailwind
colors: {
  custom: {
    50: '#61936a',
    500: '#166731',
    950: '#000000',
  },
}
SCSS
$custom: #166731;
$custom-light: #61936a;
$custom-dark: #000000;
JSON
{
  "hex": "#166731",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 49
  },
  "hsl": {
    "h": 140,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.11421,
    "h": 149.7
  },
  "luminance": 0.10093
}

Semantic roles & 50–950 ramp

primary
#166731
secondary
#9E3B7D
accent
#40B0E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166731

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

Preview Lab → · Contrast checker → · Palette generator →

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