#166D2F#166D2F

#166D2F is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.124 H 148.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#166D2F
RGBrgb(22, 109, 47)
HSLhsl(137, 66%, 26%)
HSVhsv(137, 80%, 43%)
CMYKcmyk(79.8%, 0%, 56.9%, 57.3%)
CIE-LABlab(40.10, -39.34, 27.38)
CIE-LCHlch(40.10, 47.93, 145.16°)
OKLaboklab(47.05% -0.1058 0.0657)
OKLCHoklch(47.05% 0.125 148.2)
XYZxyz(6.3121, 11.3123, 4.5396)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D2F #6D1654
analogous
#296D16 #166D2F #166D5A
triadic
#166D2F #2F166D #6D2F16
tetradic
#166D2F #16296D #6D1654 #6D5A16
square
#166D2F #16296D #6D1654 #6D5A16
split-complementary
#166D2F #5A166D #6D1629
monochromatic
#05190B #0C3A19 #166D2F #20A045 #2BD35B

Accessibility & contrast

On white

6.44
#166D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#166D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D2F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D2F#FFFFFF#000000##FFFFFF
##166D2F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6329
Deuteranopia (green-blind)
#645C34
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d2f;
/* rgb */ color: rgb(22, 109, 47);
/* oklch */ color: oklch(47.0% 0.124 148.2);
Tailwind
colors: {
  custom: {
    50: '#639869',
    500: '#166d2f',
    950: '#000000',
  },
}
SCSS
$custom: #166d2f;
$custom-light: #639869;
$custom-dark: #000000;
JSON
{
  "hex": "#166d2f",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 137.241,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.1245,
    "h": 148.2
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#166D2F
secondary
#A33C85
accent
#3EB8E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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