#166830#166830

#166830 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.117 H 149.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#166830
RGBrgb(22, 104, 48)
HSLhsl(139, 65%, 25%)
HSVhsv(139, 79%, 41%)
CMYKcmyk(78.8%, 0%, 53.8%, 59.2%)
CIE-LABlab(38.35, -37.25, 24.69)
CIE-LCHlch(38.35, 44.68, 146.46°)
OKLaboklab(45.6% -0.1001 0.0598)
OKLCHoklch(45.6% 0.117 149.2)
XYZxyz(5.8142, 10.2839, 4.4743)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166830 #68164E
analogous
#256816 #166830 #166859
triadic
#166830 #301668 #683016
tetradic
#166830 #162568 #68164E #685916
square
#166830 #162568 #68164E #685916
split-complementary
#166830 #591668 #681625
monochromatic
#05190C #0B3519 #166830 #219B47 #2BCD5F

Accessibility & contrast

On white

6.87
#166830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166830
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166830#FFFFFF#000000##FFFFFF
##1668301.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2B
Deuteranopia (green-blind)
#5F5834
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166830;
/* rgb */ color: rgb(22, 104, 48);
/* oklch */ color: oklch(45.6% 0.117 149.2);
Tailwind
colors: {
  custom: {
    50: '#629469',
    500: '#166830',
    950: '#000000',
  },
}
SCSS
$custom: #166830;
$custom-light: #629469;
$custom-dark: #000000;
JSON
{
  "hex": "#166830",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 139.024,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.11661,
    "h": 149.2
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#166830
secondary
#9F3B7F
accent
#40B3E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166830

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

Preview Lab → · Contrast checker → · Palette generator →

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