#168E17#168E17

#168E17 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.3% C 0.181 H 142.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#168E17
RGBrgb(22, 142, 23)
HSLhsl(121, 73%, 32%)
HSVhsv(121, 85%, 56%)
CMYKcmyk(84.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.36, -53.05, 49.35)
CIE-LCHlch(51.36, 72.45, 137.07°)
OKLaboklab(56.34% -0.1439 0.1094)
OKLCHoklch(56.34% 0.181 142.8)
XYZxyz(10.1579, 19.5772, 4.0539)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168E17 #8E168D
analogous
#518E16 #168E17 #168E53
triadic
#168E17 #17168E #8E1716
tetradic
#168E17 #16518E #8E168D #8E5316
square
#168E17 #16518E #8E168D #8E5316
split-complementary
#168E17 #53168E #8E1651
monochromatic
#062406 #0E590E #168E17 #1EC320 #3DE13F

Accessibility & contrast

On white

4.27
#168E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#168E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168E17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168E17#FFFFFF#000000##000000
##168E171.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168e17;
/* rgb */ color: rgb(22, 142, 23);
/* oklch */ color: oklch(56.3% 0.181 142.8);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#168e17',
    950: '#000000',
  },
}
SCSS
$custom: #168e17;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#168e17",
  "rgb": {
    "r": 22,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 120.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56338,
    "c": 0.18078,
    "h": 142.8
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#168E17
secondary
#C13FC0
accent
#38EEF0
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#081105
muted
#7B8079

Preview Lab

Preview with #168E17

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

Preview Lab → · Contrast checker → · Palette generator →

#168E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva