#166720#166720

#166720 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.130 H 144.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#166720
RGBrgb(22, 103, 32)
HSLhsl(127, 65%, 25%)
HSVhsv(127, 79%, 40%)
CMYKcmyk(78.6%, 0%, 68.9%, 59.6%)
CIE-LABlab(37.80, -39.18, 32.31)
CIE-LCHlch(37.80, 50.78, 140.48°)
OKLaboklab(45.08% -0.1058 0.075)
OKLCHoklch(45.08% 0.13 144.7)
XYZxyz(5.4415, 9.9747, 3.0048)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166720 #67165D
analogous
#356716 #166720 #166749
triadic
#166720 #201667 #672016
tetradic
#166720 #163567 #67165D #674916
square
#166720 #163567 #67165D #674916
split-complementary
#166720 #491667 #671635
monochromatic
#051908 #0B3510 #166720 #219930 #2CCC3F

Accessibility & contrast

On white

7.01
#166720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#166720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166720
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166720#FFFFFF#000000##FFFFFF
##1667201.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D17
Deuteranopia (green-blind)
#605626
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166720;
/* rgb */ color: rgb(22, 103, 32);
/* oklch */ color: oklch(45.1% 0.130 144.7);
Tailwind
colors: {
  custom: {
    50: '#62935f',
    500: '#166720',
    950: '#000000',
  },
}
SCSS
$custom: #166720;
$custom-light: #62935f;
$custom-dark: #000000;
JSON
{
  "hex": "#166720",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 127.407,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.12971,
    "h": 144.7
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#166720
secondary
#9E3B91
accent
#40D3E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166720

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

Preview Lab → · Contrast checker → · Palette generator →

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