#168822#168822

#168822 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.168 H 143.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#168822
RGBrgb(22, 136, 34)
HSLhsl(126, 72%, 31%)
HSVhsv(126, 84%, 53%)
CMYKcmyk(83.8%, 0%, 75%, 46.7%)
CIE-LABlab(49.37, -50.34, 43.71)
CIE-LCHlch(49.37, 66.66, 139.03°)
OKLaboklab(54.7% -0.1361 0.0992)
OKLCHoklch(54.7% 0.168 143.9)
XYZxyz(9.4231, 17.8932, 4.4702)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168822 #88167C
analogous
#438816 #168822 #16885B
triadic
#168822 #221688 #882216
tetradic
#168822 #164388 #88167C #885B16
square
#168822 #164388 #88167C #885B16
split-complementary
#168822 #5B1688 #881643
monochromatic
#051F08 #0D5315 #168822 #1FBD2F #39DF4B

Accessibility & contrast

On white

4.59
#168822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#168822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #168822
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168822#FFFFFF#000000##FFFFFF
##1688221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0F
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #168822;
/* rgb */ color: rgb(22, 136, 34);
/* oklch */ color: oklch(54.7% 0.168 143.9);
Tailwind
colors: {
  custom: {
    50: '#6bac64',
    500: '#168822',
    950: '#000000',
  },
}
SCSS
$custom: #168822;
$custom-light: #6bac64;
$custom-dark: #000000;
JSON
{
  "hex": "#168822",
  "rgb": {
    "r": 22,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 126.316,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.16839,
    "h": 143.9
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#168822
secondary
#BC3EAF
accent
#39DCEF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168822

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

Preview Lab → · Contrast checker → · Palette generator →

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