#168D1F#168D1F

#168D1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.176 H 143.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#168D1F
RGBrgb(22, 141, 31)
HSLhsl(125, 73%, 32%)
HSVhsv(125, 84%, 55%)
CMYKcmyk(84.4%, 0%, 78%, 44.7%)
CIE-LABlab(51.06, -52.19, 46.51)
CIE-LCHlch(51.06, 69.91, 138.30°)
OKLaboklab(56.1% -0.1413 0.1046)
OKLCHoklch(56.1% 0.176 143.5)
XYZxyz(10.1024, 19.3180, 4.4924)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168D1F #8D1684
analogous
#498D16 #168D1F #168D5B
triadic
#168D1F #1F168D #8D1F16
tetradic
#168D1F #16498D #8D1684 #8D5B16
square
#168D1F #16498D #8D1684 #8D5B16
split-complementary
#168D1F #5B168D #8D1649
monochromatic
#052308 #0E5813 #168D1F #1EC22B #3DE149

Accessibility & contrast

On white

4.32
#168D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#168D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168D1F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168D1F#FFFFFF#000000##000000
##168D1F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168d1f;
/* rgb */ color: rgb(22, 141, 31);
/* oklch */ color: oklch(56.1% 0.176 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db063',
    500: '#168d1f',
    950: '#000000',
  },
}
SCSS
$custom: #168d1f;
$custom-light: #6db063;
$custom-dark: #000000;
JSON
{
  "hex": "#168d1f",
  "rgb": {
    "r": 22,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 124.538,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.17578,
    "h": 143.5
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#168D1F
secondary
#C13EB7
accent
#38E2F0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #168D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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