#166E21#166E21

#166E21 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.138 H 144.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#166E21
RGBrgb(22, 110, 33)
HSLhsl(128, 67%, 26%)
HSVhsv(128, 80%, 43%)
CMYKcmyk(80%, 0%, 70%, 56.9%)
CIE-LABlab(40.30, -41.60, 34.59)
CIE-LCHlch(40.30, 54.10, 140.26°)
OKLaboklab(47.16% -0.1124 0.0799)
OKLCHoklch(47.16% 0.138 144.6)
XYZxyz(6.1809, 11.4315, 3.3193)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E21 #6E1663
analogous
#376E16 #166E21 #166E4D
triadic
#166E21 #21166E #6E2116
tetradic
#166E21 #16376E #6E1663 #6E4D16
square
#166E21 #16376E #6E1663 #6E4D16
split-complementary
#166E21 #4D166E #6E1637
monochromatic
#051A08 #0C3B12 #166E21 #20A130 #2AD440

Accessibility & contrast

On white

6.39
#166E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#166E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166E21
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E21#FFFFFF#000000##FFFFFF
##166E211.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706317
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166e21;
/* rgb */ color: rgb(22, 110, 33);
/* oklch */ color: oklch(47.2% 0.138 144.6);
Tailwind
colors: {
  custom: {
    50: '#649960',
    500: '#166e21',
    950: '#000000',
  },
}
SCSS
$custom: #166e21;
$custom-light: #649960;
$custom-dark: #000000;
JSON
{
  "hex": "#166e21",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 33
  },
  "hsl": {
    "h": 127.5,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47161,
    "c": 0.13788,
    "h": 144.6
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#166E21
secondary
#A43C97
accent
#3ED4EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166E21

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

Preview Lab → · Contrast checker → · Palette generator →

#166E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva