#167817#167817

#167817 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.156 H 142.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#167817
RGBrgb(22, 120, 23)
HSLhsl(121, 69%, 28%)
HSVhsv(121, 82%, 47%)
CMYKcmyk(81.7%, 0%, 80.8%, 52.9%)
CIE-LABlab(43.75, -45.96, 42.15)
CIE-LCHlch(43.75, 62.36, 137.47°)
OKLaboklab(50.01% -0.1247 0.0944)
OKLCHoklch(50.01% 0.156 142.9)
XYZxyz(7.2015, 13.6645, 3.0684)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167817 #781677
analogous
#467816 #167817 #167848
triadic
#167817 #171678 #781716
tetradic
#167817 #164678 #781677 #784816
square
#167817 #164678 #781677 #784816
split-complementary
#167817 #481678 #781646
monochromatic
#051A05 #0D440D #167817 #1FAC21 #2FD931

Accessibility & contrast

On white

5.63
#167817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#167817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167817
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167817#FFFFFF#000000##FFFFFF
##1678171.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #167817;
/* rgb */ color: rgb(22, 120, 23);
/* oklch */ color: oklch(50.0% 0.156 142.9);
Tailwind
colors: {
  custom: {
    50: '#67a05c',
    500: '#167817',
    950: '#000000',
  },
}
SCSS
$custom: #167817;
$custom-light: #67a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#167817",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 120.612,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.15638,
    "h": 142.9
  },
  "luminance": 0.13665
}

Semantic roles & 50–950 ramp

primary
#167817
secondary
#AD3CAC
accent
#3CEAEC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #167817

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

Preview Lab → · Contrast checker → · Palette generator →

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