#166F3F#166F3F

#166F3F is a mid, moderate green. Relative luminance 0.119; OKLCH L 47.9% C 0.111 H 154.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#166F3F
RGBrgb(22, 111, 63)
HSLhsl(148, 67%, 26%)
HSVhsv(148, 80%, 44%)
CMYKcmyk(80.2%, 0%, 43.2%, 56.5%)
CIE-LABlab(41.05, -37.22, 19.67)
CIE-LCHlch(41.05, 42.09, 152.14°)
OKLaboklab(47.92% -0.1002 0.0488)
OKLCHoklch(47.92% 0.111 154)
XYZxyz(6.9119, 11.8975, 6.6338)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F3F #6F1646
analogous
#1A6F16 #166F3F #166F6B
triadic
#166F3F #3F166F #6F3F16
tetradic
#166F3F #161A6F #6F1646 #6F6B16
square
#166F3F #161A6F #6F1646 #6F6B16
split-complementary
#166F3F #6B166F #6F161A
monochromatic
#051A0E #0C3C22 #166F3F #20A25C #2BD579

Accessibility & contrast

On white

6.21
#166F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#166F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F3F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F3F#FFFFFF#000000##FFFFFF
##166F3F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F653C
Deuteranopia (green-blind)
#645E42
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #166f3f;
/* rgb */ color: rgb(22, 111, 63);
/* oklch */ color: oklch(47.9% 0.111 154.0);
Tailwind
colors: {
  custom: {
    50: '#639974',
    500: '#166f3f',
    950: '#000000',
  },
}
SCSS
$custom: #166f3f;
$custom-light: #639974;
$custom-dark: #000000;
JSON
{
  "hex": "#166f3f",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 63
  },
  "hsl": {
    "h": 147.64,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47918,
    "c": 0.11149,
    "h": 154
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#166F3F
secondary
#A53C75
accent
#3E9BEA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #166F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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