#166A3F#166A3F

#166A3F is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.5% C 0.104 H 155.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#166A3F
RGBrgb(22, 106, 63)
HSLhsl(149, 66%, 25%)
HSVhsv(149, 79%, 42%)
CMYKcmyk(79.2%, 0%, 40.6%, 58.4%)
CIE-LABlab(39.30, -35.16, 17.36)
CIE-LCHlch(39.30, 39.21, 153.72°)
OKLaboklab(46.47% -0.0949 0.0434)
OKLCHoklch(46.47% 0.104 155.4)
XYZxyz(6.3815, 10.8368, 6.4570)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A3F #6A1641
analogous
#176A16 #166A3F #166A69
triadic
#166A3F #3F166A #6A3F16
tetradic
#166A3F #16176A #6A1641 #6A6916
square
#166A3F #16176A #6A1641 #6A6916
split-complementary
#166A3F #69166A #6A1617
monochromatic
#05190F #0B3721 #166A3F #219D5D #2BCF7B

Accessibility & contrast

On white

6.63
#166A3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#166A3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A3F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A3F#FFFFFF#000000##FFFFFF
##166A3F1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A613C
Deuteranopia (green-blind)
#5F5A42
Tritanopia (blue-blind)
#00695F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166a3f;
/* rgb */ color: rgb(22, 106, 63);
/* oklch */ color: oklch(46.5% 0.104 155.4);
Tailwind
colors: {
  custom: {
    50: '#629574',
    500: '#166a3f',
    950: '#000000',
  },
}
SCSS
$custom: #166a3f;
$custom-light: #629574;
$custom-dark: #000000;
JSON
{
  "hex": "#166a3f",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 63
  },
  "hsl": {
    "h": 149.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.10432,
    "h": 155.4
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#166A3F
secondary
#A03B6F
accent
#3F96E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #166A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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