#168F17#168F17

#168F17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.182 H 142.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#168F17
RGBrgb(22, 143, 23)
HSLhsl(120, 73%, 32%)
HSVhsv(120, 85%, 56%)
CMYKcmyk(84.6%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.70, -53.36, 49.66)
CIE-LCHlch(51.70, 72.90, 137.06°)
OKLaboklab(56.62% -0.1448 0.11)
OKLCHoklch(56.62% 0.182 142.8)
XYZxyz(10.3073, 19.8761, 4.1037)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168F17 #8F168E
analogous
#518F16 #168F17 #168F54
triadic
#168F17 #17168F #8F1716
tetradic
#168F17 #16518F #8F168E #8F5416
square
#168F17 #16518F #8F168E #8F5416
split-complementary
#168F17 #54168F #8F1651
monochromatic
#062506 #0E5A0E #168F17 #1EC420 #3EE13F

Accessibility & contrast

On white

4.22
#168F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#168F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168F17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168F17#FFFFFF#000000##000000
##168F171.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #168f17;
/* rgb */ color: rgb(22, 143, 23);
/* oklch */ color: oklch(56.6% 0.182 142.8);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#168f17',
    950: '#000000',
  },
}
SCSS
$custom: #168f17;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#168f17",
  "rgb": {
    "r": 22,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 120.496,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.18186,
    "h": 142.8
  },
  "luminance": 0.19877
}

Semantic roles & 50–950 ramp

primary
#168F17
secondary
#C13FC0
accent
#38EEF0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #168F17

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

Preview Lab → · Contrast checker → · Palette generator →

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