#168117#168117

#168117 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.167 H 142.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#168117
RGBrgb(22, 129, 23)
HSLhsl(121, 71%, 30%)
HSVhsv(121, 83%, 51%)
CMYKcmyk(82.9%, 0%, 82.2%, 49.4%)
CIE-LABlab(46.88, -48.91, 45.16)
CIE-LCHlch(46.88, 66.57, 137.29°)
OKLaboklab(52.62% -0.1327 0.1006)
OKLCHoklch(52.62% 0.167 142.8)
XYZxyz(8.3353, 15.9319, 3.4463)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168117 #811680
analogous
#4A8116 #168117 #16814D
triadic
#168117 #171681 #811716
tetradic
#168117 #164A81 #811680 #814D16
square
#168117 #164A81 #811680 #814D16
split-complementary
#168117 #4D1681 #81164A
monochromatic
#041A05 #0D4D0E #168117 #1FB520 #35DD36

Accessibility & contrast

On white

5.02
#168117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#168117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168117
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168117#FFFFFF#000000##FFFFFF
##1681171.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #168117;
/* rgb */ color: rgb(22, 129, 23);
/* oklch */ color: oklch(52.6% 0.167 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa75e',
    500: '#168117',
    950: '#000000',
  },
}
SCSS
$custom: #168117;
$custom-light: #6aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#168117",
  "rgb": {
    "r": 22,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 120.561,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52616,
    "c": 0.16656,
    "h": 142.8
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#168117
secondary
#B63DB4
accent
#3AECEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #168117

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

Preview Lab → · Contrast checker → · Palette generator →

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