#166B2F#166B2F

#166B2F is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.122 H 148.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#166B2F
RGBrgb(22, 107, 47)
HSLhsl(138, 66%, 25%)
HSVhsv(138, 79%, 42%)
CMYKcmyk(79.4%, 0%, 56.1%, 58%)
CIE-LABlab(39.40, -38.57, 26.52)
CIE-LCHlch(39.40, 46.81, 145.49°)
OKLaboklab(46.46% -0.1037 0.0638)
OKLCHoklch(46.46% 0.122 148.4)
XYZxyz(6.1012, 10.8905, 4.4693)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B2F #6B1652
analogous
#286B16 #166B2F #166B59
triadic
#166B2F #2F166B #6B2F16
tetradic
#166B2F #16286B #6B1652 #6B5916
square
#166B2F #16286B #6B1652 #6B5916
split-complementary
#166B2F #59166B #6B1628
monochromatic
#05190B #0C3819 #166B2F #209E45 #2BD15C

Accessibility & contrast

On white

6.61
#166B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#166B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B2F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B2F#FFFFFF#000000##FFFFFF
##166B2F1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612A
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166b2f;
/* rgb */ color: rgb(22, 107, 47);
/* oklch */ color: oklch(46.5% 0.122 148.4);
Tailwind
colors: {
  custom: {
    50: '#629669',
    500: '#166b2f',
    950: '#000000',
  },
}
SCSS
$custom: #166b2f;
$custom-light: #629669;
$custom-dark: #000000;
JSON
{
  "hex": "#166b2f",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 137.647,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.12176,
    "h": 148.4
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#166B2F
secondary
#A13B83
accent
#3FB7E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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