#167217#167217

#167217 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.2% C 0.149 H 142.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#167217
RGBrgb(22, 114, 23)
HSLhsl(121, 68%, 27%)
HSVhsv(121, 81%, 45%)
CMYKcmyk(80.7%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.64, -43.94, 40.09)
CIE-LCHlch(41.64, 59.48, 137.62°)
OKLaboklab(48.25% -0.1192 0.0901)
OKLCHoklch(48.25% 0.149 142.9)
XYZxyz(6.5024, 12.2663, 2.8354)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167217 #721671
analogous
#437216 #167217 #167245
triadic
#167217 #171672 #721716
tetradic
#167217 #164372 #721671 #724516
square
#167217 #164372 #721671 #724516
split-complementary
#167217 #451672 #721643
monochromatic
#051A05 #0C3F0D #167217 #20A521 #2CD62E

Accessibility & contrast

On white

6.08
#167217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#167217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167217
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167217#FFFFFF#000000##FFFFFF
##1672171.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756603
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #167217;
/* rgb */ color: rgb(22, 114, 23);
/* oklch */ color: oklch(48.2% 0.149 142.9);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#167217',
    950: '#000000',
  },
}
SCSS
$custom: #167217;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#167217",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 120.652,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48249,
    "c": 0.14941,
    "h": 142.9
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#167217
secondary
#A83CA7
accent
#3DE9EB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #167217

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

Preview Lab → · Contrast checker → · Palette generator →

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