#168D1C#168D1C

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

Color values

HEX#168D1C
RGBrgb(22, 141, 28)
HSLhsl(123, 73%, 32%)
HSVhsv(123, 84%, 55%)
CMYKcmyk(84.4%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.04, -52.41, 47.51)
CIE-LCHlch(51.04, 70.74, 137.81°)
OKLaboklab(56.08% -0.142 0.1063)
OKLCHoklch(56.08% 0.177 143.2)
XYZxyz(10.0647, 19.3029, 4.2938)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168D1C #8D1687
analogous
#4C8D16 #168D1C #168D58
triadic
#168D1C #1C168D #8D1C16
tetradic
#168D1C #164C8D #8D1687 #8D5816
square
#168D1C #164C8D #8D1687 #8D5816
split-complementary
#168D1C #58168D #8D164C
monochromatic
#052307 #0E5811 #168D1C #1EC227 #3DE145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168D1C#FFFFFF#000000##000000
##168D1C1.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)
#907F00
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168d1c;
/* rgb */ color: rgb(22, 141, 28);
/* oklch */ color: oklch(56.1% 0.177 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#168d1c',
    950: '#000000',
  },
}
SCSS
$custom: #168d1c;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#168d1c",
  "rgb": {
    "r": 22,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 123.025,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.17736,
    "h": 143.2
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#168D1C
secondary
#C13EBA
accent
#38E6F0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #168D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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