#168D20#168D20

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

Color values

HEX#168D20
RGBrgb(22, 141, 32)
HSLhsl(125, 73%, 32%)
HSVhsv(125, 84%, 55%)
CMYKcmyk(84.4%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.06, -52.12, 46.16)
CIE-LCHlch(51.06, 69.62, 138.47°)
OKLaboklab(56.11% -0.141 0.104)
OKLCHoklch(56.11% 0.175 143.6)
XYZxyz(10.1158, 19.3234, 4.5629)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168D20 #8D1683
analogous
#488D16 #168D20 #168D5C
triadic
#168D20 #20168D #8D2016
tetradic
#168D20 #16488D #8D1683 #8D5C16
square
#168D20 #16488D #8D1683 #8D5C16
split-complementary
#168D20 #5C168D #8D1648
monochromatic
#052308 #0E5814 #168D20 #1EC22C #3DE14A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168D20#FFFFFF#000000##000000
##168D201.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)
#907F08
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168d20;
/* rgb */ color: rgb(22, 141, 32);
/* oklch */ color: oklch(56.1% 0.175 143.6);
Tailwind
colors: {
  custom: {
    50: '#6db064',
    500: '#168d20',
    950: '#000000',
  },
}
SCSS
$custom: #168d20;
$custom-light: #6db064;
$custom-dark: #000000;
JSON
{
  "hex": "#168d20",
  "rgb": {
    "r": 22,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 125.042,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.17522,
    "h": 143.6
  },
  "luminance": 0.19325
}

Semantic roles & 50–950 ramp

primary
#168D20
secondary
#C13EB6
accent
#38E0F0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #168D20

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

Preview Lab → · Contrast checker → · Palette generator →

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