#168C17#168C17

#168C17 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.179 H 142.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#168C17
RGBrgb(22, 140, 23)
HSLhsl(121, 73%, 32%)
HSVhsv(121, 84%, 55%)
CMYKcmyk(84.3%, 0%, 83.6%, 45.1%)
CIE-LABlab(50.67, -52.42, 48.71)
CIE-LCHlch(50.67, 71.56, 137.10°)
OKLaboklab(55.77% -0.1422 0.1081)
OKLCHoklch(55.77% 0.179 142.8)
XYZxyz(9.8630, 18.9874, 3.9556)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168C17 #8C168B
analogous
#508C16 #168C17 #168C52
triadic
#168C17 #17168C #8C1716
tetradic
#168C17 #16508C #8C168B #8C5216
square
#168C17 #16508C #8C168B #8C5216
split-complementary
#168C17 #52168C #8C1650
monochromatic
#052206 #0E570E #168C17 #1EC120 #3CE03D

Accessibility & contrast

On white

4.38
#168C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#168C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168C17
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168C17#FFFFFF#000000##000000
##168C171.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #168c17;
/* rgb */ color: rgb(22, 140, 23);
/* oklch */ color: oklch(55.8% 0.179 142.8);
Tailwind
colors: {
  custom: {
    50: '#6daf5f',
    500: '#168c17',
    950: '#000000',
  },
}
SCSS
$custom: #168c17;
$custom-light: #6daf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#168c17",
  "rgb": {
    "r": 22,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 120.508,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55769,
    "c": 0.17863,
    "h": 142.8
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#168C17
secondary
#C03EBF
accent
#38EEF0
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #168C17

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

Preview Lab → · Contrast checker → · Palette generator →

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