#166127#166127

#166127 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.4% C 0.116 H 147.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#166127
RGBrgb(22, 97, 39)
HSLhsl(134, 63%, 23%)
HSVhsv(134, 77%, 38%)
CMYKcmyk(77.3%, 0%, 59.8%, 62%)
CIE-LABlab(35.72, -35.96, 26.40)
CIE-LCHlch(35.72, 44.61, 143.72°)
OKLaboklab(43.39% -0.0969 0.0629)
OKLCHoklch(43.39% 0.116 147)
XYZxyz(4.9714, 8.8659, 3.3683)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166127 #611650
analogous
#2A6116 #166127 #16614C
triadic
#166127 #271661 #612716
tetradic
#166127 #162A61 #611650 #614C16
square
#166127 #162A61 #611650 #614C16
split-complementary
#166127 #4C1661 #61162A
monochromatic
#06190A #0B2F13 #166127 #21933B #2DC54F

Accessibility & contrast

On white

7.57
#166127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#166127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166127
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166127#FFFFFF#000000##FFFFFF
##1661271.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625821
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #166127;
/* rgb */ color: rgb(22, 97, 39);
/* oklch */ color: oklch(43.4% 0.116 147.0);
Tailwind
colors: {
  custom: {
    50: '#608f63',
    500: '#166127',
    950: '#000000',
  },
}
SCSS
$custom: #166127;
$custom-light: #608f63;
$custom-dark: #000000;
JSON
{
  "hex": "#166127",
  "rgb": {
    "r": 22,
    "g": 97,
    "b": 39
  },
  "hsl": {
    "h": 133.6,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4339,
    "c": 0.11551,
    "h": 147
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#166127
secondary
#983B83
accent
#42C1E6
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #166127

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

Preview Lab → · Contrast checker → · Palette generator →

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