#168721#168721

#168721 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.168 H 143.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#168721
RGBrgb(22, 135, 33)
HSLhsl(126, 72%, 31%)
HSVhsv(126, 84%, 53%)
CMYKcmyk(83.7%, 0%, 75.6%, 47.1%)
CIE-LABlab(49.02, -50.10, 43.73)
CIE-LCHlch(49.02, 66.50, 138.88°)
OKLaboklab(54.41% -0.1355 0.0991)
OKLCHoklch(54.41% 0.168 143.8)
XYZxyz(9.2687, 17.6072, 4.3486)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168721 #87167C
analogous
#438716 #168721 #168759
triadic
#168721 #211687 #872116
tetradic
#168721 #164387 #87167C #875916
square
#168721 #164387 #87167C #875916
split-complementary
#168721 #591687 #871643
monochromatic
#051E07 #0D5214 #168721 #1FBC2E #39DF49

Accessibility & contrast

On white

4.64
#168721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#168721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #168721
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168721#FFFFFF#000000##FFFFFF
##1687211.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #168721;
/* rgb */ color: rgb(22, 135, 33);
/* oklch */ color: oklch(54.4% 0.168 143.8);
Tailwind
colors: {
  custom: {
    50: '#6bab63',
    500: '#168721',
    950: '#000000',
  },
}
SCSS
$custom: #168721;
$custom-light: #6bab63;
$custom-dark: #000000;
JSON
{
  "hex": "#168721",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 125.841,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.16785,
    "h": 143.8
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#168721
secondary
#BB3EAF
accent
#39DDEF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168721

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

Preview Lab → · Contrast checker → · Palette generator →

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