#166628#166628

#166628 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.9% C 0.121 H 146.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#166628
RGBrgb(22, 102, 40)
HSLhsl(134, 65%, 24%)
HSVhsv(134, 78%, 40%)
CMYKcmyk(78.4%, 0%, 60.8%, 60%)
CIE-LABlab(37.53, -37.74, 28.01)
CIE-LCHlch(37.53, 47.00, 143.42°)
OKLaboklab(44.89% -0.1016 0.0665)
OKLCHoklch(44.89% 0.121 146.8)
XYZxyz(5.4648, 9.8259, 3.6156)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166628 #661654
analogous
#2C6616 #166628 #166650
triadic
#166628 #281666 #662816
tetradic
#166628 #162C66 #661654 #665016
square
#166628 #162C66 #661654 #665016
split-complementary
#166628 #501666 #66162C
monochromatic
#05190A #0B3414 #166628 #21983C #2CCB4F

Accessibility & contrast

On white

7.08
#166628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#166628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166628
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166628#FFFFFF#000000##FFFFFF
##1666281.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C22
Deuteranopia (green-blind)
#5E562D
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #166628;
/* rgb */ color: rgb(22, 102, 40);
/* oklch */ color: oklch(44.9% 0.121 146.8);
Tailwind
colors: {
  custom: {
    50: '#619264',
    500: '#166628',
    950: '#000000',
  },
}
SCSS
$custom: #166628;
$custom-light: #619264;
$custom-dark: #000000;
JSON
{
  "hex": "#166628",
  "rgb": {
    "r": 22,
    "g": 102,
    "b": 40
  },
  "hsl": {
    "h": 133.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.12147,
    "h": 146.8
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#166628
secondary
#9D3B87
accent
#40C2E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166628

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

Preview Lab → · Contrast checker → · Palette generator →

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