#168D21#168D21

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

Color values

HEX#168D21
RGBrgb(22, 141, 33)
HSLhsl(126, 73%, 32%)
HSVhsv(126, 84%, 55%)
CMYKcmyk(84.4%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.07, -52.04, 45.80)
CIE-LCHlch(51.07, 69.32, 138.65°)
OKLaboklab(56.12% -0.1408 0.1034)
OKLCHoklch(56.12% 0.175 143.7)
XYZxyz(10.1296, 19.3289, 4.6355)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168D21 #8D1682
analogous
#478D16 #168D21 #168D5D
triadic
#168D21 #21168D #8D2116
tetradic
#168D21 #16478D #8D1682 #8D5D16
square
#168D21 #16478D #8D1682 #8D5D16
split-complementary
#168D21 #5D168D #8D1647
monochromatic
#052308 #0E5815 #168D21 #1EC22D #3DE14C

Accessibility & contrast

On white

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

On black

4.87
#168D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168D21
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168D21#FFFFFF#000000##000000
##168D211.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168d21;
/* rgb */ color: rgb(22, 141, 33);
/* oklch */ color: oklch(56.1% 0.175 143.7);
Tailwind
colors: {
  custom: {
    50: '#6db064',
    500: '#168d21',
    950: '#000000',
  },
}
SCSS
$custom: #168d21;
$custom-light: #6db064;
$custom-dark: #000000;
JSON
{
  "hex": "#168d21",
  "rgb": {
    "r": 22,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 125.546,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.17466,
    "h": 143.7
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#168D21
secondary
#C13EB4
accent
#38DFF0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #168D21

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

Preview Lab → · Contrast checker → · Palette generator →

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