#166728#166728

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

Color values

HEX#166728
RGBrgb(22, 103, 40)
HSLhsl(133, 65%, 25%)
HSVhsv(133, 79%, 40%)
CMYKcmyk(78.6%, 0%, 61.2%, 59.6%)
CIE-LABlab(37.88, -38.12, 28.43)
CIE-LCHlch(37.88, 47.55, 143.29°)
OKLaboklab(45.18% -0.1027 0.0674)
OKLCHoklch(45.18% 0.123 146.7)
XYZxyz(5.5637, 10.0236, 3.6486)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166728 #671655
analogous
#2D6716 #166728 #166751
triadic
#166728 #281667 #672816
tetradic
#166728 #162D67 #671655 #675116
square
#166728 #162D67 #671655 #675116
split-complementary
#166728 #511667 #67162D
monochromatic
#05190A #0B3514 #166728 #21993C #2CCC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166728#FFFFFF#000000##FFFFFF
##1667281.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)
#685D22
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166728;
/* rgb */ color: rgb(22, 103, 40);
/* oklch */ color: oklch(45.2% 0.123 146.7);
Tailwind
colors: {
  custom: {
    50: '#629364',
    500: '#166728',
    950: '#000000',
  },
}
SCSS
$custom: #166728;
$custom-light: #629364;
$custom-dark: #000000;
JSON
{
  "hex": "#166728",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 133.333,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.12283,
    "h": 146.7
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#166728
secondary
#9E3B88
accent
#40C3E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166728

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

Preview Lab → · Contrast checker → · Palette generator →

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