#166834#166834

#166834 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.113 H 150.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#166834
RGBrgb(22, 104, 52)
HSLhsl(142, 65%, 25%)
HSVhsv(142, 79%, 41%)
CMYKcmyk(78.8%, 0%, 50%, 59.2%)
CIE-LABlab(38.41, -36.54, 22.53)
CIE-LCHlch(38.41, 42.92, 148.34°)
OKLaboklab(45.67% -0.0982 0.0551)
OKLCHoklch(45.67% 0.113 150.7)
XYZxyz(5.9005, 10.3184, 4.9288)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166834 #68164A
analogous
#216816 #166834 #16685D
triadic
#166834 #341668 #683416
tetradic
#166834 #162168 #68164A #685D16
square
#166834 #162168 #68164A #685D16
split-complementary
#166834 #5D1668 #681621
monochromatic
#05190D #0B351B #166834 #219B4D #2BCD67

Accessibility & contrast

On white

6.85
#166834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#166834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166834
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166834#FFFFFF#000000##FFFFFF
##1668341.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E30
Deuteranopia (green-blind)
#5F5838
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166834;
/* rgb */ color: rgb(22, 104, 52);
/* oklch */ color: oklch(45.7% 0.113 150.7);
Tailwind
colors: {
  custom: {
    50: '#62946c',
    500: '#166834',
    950: '#000000',
  },
}
SCSS
$custom: #166834;
$custom-light: #62946c;
$custom-dark: #000000;
JSON
{
  "hex": "#166834",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 52
  },
  "hsl": {
    "h": 141.951,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.11262,
    "h": 150.7
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

primary
#166834
secondary
#9F3B7A
accent
#40AAE8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166834

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

Preview Lab → · Contrast checker → · Palette generator →

#166834 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva