#166827#166827

#166827 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.125 H 146.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#166827
RGBrgb(22, 104, 39)
HSLhsl(132, 65%, 25%)
HSVhsv(132, 79%, 41%)
CMYKcmyk(78.8%, 0%, 62.5%, 59.2%)
CIE-LABlab(38.23, -38.64, 29.35)
CIE-LCHlch(38.23, 48.52, 142.79°)
OKLaboklab(45.47% -0.1041 0.0693)
OKLCHoklch(45.47% 0.125 146.3)
XYZxyz(5.6470, 10.2170, 3.5935)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166827 #681657
analogous
#2E6816 #166827 #166850
triadic
#166827 #271668 #682716
tetradic
#166827 #162E68 #681657 #685016
square
#166827 #162E68 #681657 #685016
split-complementary
#166827 #501668 #68162E
monochromatic
#051909 #0B3514 #166827 #219B3A #2BCD4D

Accessibility & contrast

On white

6.90
#166827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#166827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166827
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166827#FFFFFF#000000##FFFFFF
##1668271.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E20
Deuteranopia (green-blind)
#60572C
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166827;
/* rgb */ color: rgb(22, 104, 39);
/* oklch */ color: oklch(45.5% 0.125 146.3);
Tailwind
colors: {
  custom: {
    50: '#629463',
    500: '#166827',
    950: '#000000',
  },
}
SCSS
$custom: #166827;
$custom-light: #629463;
$custom-dark: #000000;
JSON
{
  "hex": "#166827",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 132.439,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45465,
    "c": 0.12509,
    "h": 146.3
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#166827
secondary
#9F3B8A
accent
#40C5E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166827

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

Preview Lab → · Contrast checker → · Palette generator →

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