#166839#166839

#166839 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.108 H 152.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#166839
RGBrgb(22, 104, 57)
HSLhsl(146, 65%, 25%)
HSVhsv(146, 79%, 41%)
CMYKcmyk(78.8%, 0%, 45.2%, 59.2%)
CIE-LABlab(38.49, -35.58, 19.78)
CIE-LCHlch(38.49, 40.71, 150.93°)
OKLaboklab(45.77% -0.0958 0.0489)
OKLCHoklch(45.77% 0.108 152.9)
XYZxyz(6.0192, 10.3659, 5.5537)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166839 #681645
analogous
#1C6816 #166839 #166862
triadic
#166839 #391668 #683916
tetradic
#166839 #161C68 #681645 #686216
square
#166839 #161C68 #681645 #686216
split-complementary
#166839 #621668 #68161C
monochromatic
#05190E #0B351D #166839 #219B55 #2BCD70

Accessibility & contrast

On white

6.83
#166839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#166839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166839
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166839#FFFFFF#000000##FFFFFF
##1668391.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F36
Deuteranopia (green-blind)
#5E583C
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166839;
/* rgb */ color: rgb(22, 104, 57);
/* oklch */ color: oklch(45.8% 0.108 152.9);
Tailwind
colors: {
  custom: {
    50: '#619470',
    500: '#166839',
    950: '#000000',
  },
}
SCSS
$custom: #166839;
$custom-light: #619470;
$custom-dark: #000000;
JSON
{
  "hex": "#166839",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 57
  },
  "hsl": {
    "h": 145.61,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.10755,
    "h": 152.9
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#166839
secondary
#9F3B74
accent
#40A0E8
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166839

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

Preview Lab → · Contrast checker → · Palette generator →

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