#166F34#166F34

#166F34 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.122 H 149.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#166F34
RGBrgb(22, 111, 52)
HSLhsl(140, 67%, 26%)
HSVhsv(140, 80%, 44%)
CMYKcmyk(80.2%, 0%, 53.2%, 56.5%)
CIE-LABlab(40.87, -39.28, 25.62)
CIE-LCHlch(40.87, 46.90, 146.88°)
OKLaboklab(47.71% -0.1055 0.0621)
OKLCHoklch(47.71% 0.122 149.5)
XYZxyz(6.6346, 11.7866, 5.1735)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F34 #6F1651
analogous
#246F16 #166F34 #166F60
triadic
#166F34 #34166F #6F3416
tetradic
#166F34 #16246F #6F1651 #6F6016
square
#166F34 #16246F #6F1651 #6F6016
split-complementary
#166F34 #60166F #6F1624
monochromatic
#051A0C #0C3C1C #166F34 #20A24C #2BD564

Accessibility & contrast

On white

6.25
#166F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#166F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F34
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F34#FFFFFF#000000##FFFFFF
##166F341.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70652F
Deuteranopia (green-blind)
#665E38
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f34;
/* rgb */ color: rgb(22, 111, 52);
/* oklch */ color: oklch(47.7% 0.122 149.5);
Tailwind
colors: {
  custom: {
    50: '#63996d',
    500: '#166f34',
    950: '#000000',
  },
}
SCSS
$custom: #166f34;
$custom-light: #63996d;
$custom-dark: #000000;
JSON
{
  "hex": "#166f34",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 52
  },
  "hsl": {
    "h": 140.225,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47712,
    "c": 0.12245,
    "h": 149.5
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#166F34
secondary
#A53C82
accent
#3EB0EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #166F34

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

Preview Lab → · Contrast checker → · Palette generator →

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