#167517#167517

#167517 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.1% C 0.153 H 142.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#167517
RGBrgb(22, 117, 23)
HSLhsl(121, 68%, 27%)
HSVhsv(121, 81%, 46%)
CMYKcmyk(81.2%, 0%, 80.3%, 54.1%)
CIE-LABlab(42.69, -44.95, 41.13)
CIE-LCHlch(42.69, 60.93, 137.54°)
OKLaboklab(49.13% -0.122 0.0922)
OKLCHoklch(49.13% 0.153 142.9)
XYZxyz(6.8464, 12.9542, 2.9500)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167517 #751674
analogous
#447516 #167517 #167547
triadic
#167517 #171675 #751716
tetradic
#167517 #164475 #751674 #754716
square
#167517 #164475 #751674 #754716
split-complementary
#167517 #471675 #751644
monochromatic
#051A05 #0C410D #167517 #20A921 #2ED830

Accessibility & contrast

On white

5.85
#167517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#167517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167517
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167517#FFFFFF#000000##FFFFFF
##1675171.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #167517;
/* rgb */ color: rgb(22, 117, 23);
/* oklch */ color: oklch(49.1% 0.153 142.9);
Tailwind
colors: {
  custom: {
    50: '#669e5c',
    500: '#167517',
    950: '#000000',
  },
}
SCSS
$custom: #167517;
$custom-light: #669e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#167517",
  "rgb": {
    "r": 22,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 120.632,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.15292,
    "h": 142.9
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #167517

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

Preview Lab → · Contrast checker → · Palette generator →

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