#168017#168017

#168017 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.165 H 142.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#168017
RGBrgb(22, 128, 23)
HSLhsl(121, 71%, 29%)
HSVhsv(121, 83%, 50%)
CMYKcmyk(82.8%, 0%, 82%, 49.8%)
CIE-LABlab(46.54, -48.59, 44.83)
CIE-LCHlch(46.54, 66.11, 137.31°)
OKLaboklab(52.33% -0.1318 0.1)
OKLCHoklch(52.33% 0.165 142.8)
XYZxyz(8.2042, 15.6698, 3.4026)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168017 #80167F
analogous
#4A8016 #168017 #16804C
triadic
#168017 #171680 #801716
tetradic
#168017 #164A80 #80167F #804C16
square
#168017 #164A80 #80167F #804C16
split-complementary
#168017 #4C1680 #80164A
monochromatic
#041A05 #0D4C0E #168017 #1FB420 #34DC36

Accessibility & contrast

On white

5.08
#168017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#168017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168017
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168017#FFFFFF#000000##FFFFFF
##1680171.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #168017;
/* rgb */ color: rgb(22, 128, 23);
/* oklch */ color: oklch(52.3% 0.165 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a65e',
    500: '#168017',
    950: '#000000',
  },
}
SCSS
$custom: #168017;
$custom-light: #69a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#168017",
  "rgb": {
    "r": 22,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 120.566,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.16544,
    "h": 142.8
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#168017
secondary
#B53DB4
accent
#3AECED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #168017

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

Preview Lab → · Contrast checker → · Palette generator →

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