#166727#166727

#166727 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.124 H 146.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#166727
RGBrgb(22, 103, 39)
HSLhsl(133, 65%, 25%)
HSVhsv(133, 79%, 40%)
CMYKcmyk(78.6%, 0%, 62.1%, 59.6%)
CIE-LABlab(37.87, -38.27, 28.93)
CIE-LCHlch(37.87, 47.97, 142.91°)
OKLaboklab(45.17% -0.1031 0.0684)
OKLCHoklch(45.17% 0.124 146.4)
XYZxyz(5.5469, 10.0169, 3.5602)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166727 #671656
analogous
#2D6716 #166727 #166750
triadic
#166727 #271667 #672716
tetradic
#166727 #162D67 #671656 #675016
square
#166727 #162D67 #671656 #675016
split-complementary
#166727 #501667 #67162D
monochromatic
#05190A #0B3514 #166727 #21993A #2CCC4D

Accessibility & contrast

On white

6.99
#166727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#166727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166727
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166727#FFFFFF#000000##FFFFFF
##1667271.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D20
Deuteranopia (green-blind)
#5F572C
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166727;
/* rgb */ color: rgb(22, 103, 39);
/* oklch */ color: oklch(45.2% 0.124 146.4);
Tailwind
colors: {
  custom: {
    50: '#629363',
    500: '#166727',
    950: '#000000',
  },
}
SCSS
$custom: #166727;
$custom-light: #629363;
$custom-dark: #000000;
JSON
{
  "hex": "#166727",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 132.593,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4517,
    "c": 0.12374,
    "h": 146.4
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166727

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

Preview Lab → · Contrast checker → · Palette generator →

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