#166738#166738

#166738 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.107 H 152.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#166738
RGBrgb(22, 103, 56)
HSLhsl(145, 65%, 25%)
HSVhsv(145, 79%, 40%)
CMYKcmyk(78.6%, 0%, 45.6%, 59.6%)
CIE-LABlab(38.12, -35.37, 19.88)
CIE-LCHlch(38.12, 40.57, 150.67°)
OKLaboklab(45.46% -0.0952 0.0491)
OKLCHoklch(45.46% 0.107 152.7)
XYZxyz(5.8944, 10.1559, 5.3902)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166738 #671645
analogous
#1D6716 #166738 #166761
triadic
#166738 #381667 #673816
tetradic
#166738 #161D67 #671645 #676116
square
#166738 #161D67 #671645 #676116
split-complementary
#166738 #611667 #67161D
monochromatic
#05190E #0B351D #166738 #219953 #2CCC6F

Accessibility & contrast

On white

6.93
#166738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#166738 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166738
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166738#FFFFFF#000000##FFFFFF
##1667381.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E35
Deuteranopia (green-blind)
#5D573B
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166738;
/* rgb */ color: rgb(22, 103, 56);
/* oklch */ color: oklch(45.5% 0.107 152.7);
Tailwind
colors: {
  custom: {
    50: '#61936f',
    500: '#166738',
    950: '#000000',
  },
}
SCSS
$custom: #166738;
$custom-light: #61936f;
$custom-dark: #000000;
JSON
{
  "hex": "#166738",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 56
  },
  "hsl": {
    "h": 145.185,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.10712,
    "h": 152.7
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#166738
secondary
#9E3B74
accent
#40A1E8
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166738

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

Preview Lab → · Contrast checker → · Palette generator →

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