#168821#168821

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

Color values

HEX#168821
RGBrgb(22, 136, 33)
HSLhsl(126, 72%, 31%)
HSVhsv(126, 84%, 53%)
CMYKcmyk(83.8%, 0%, 75.7%, 46.7%)
CIE-LABlab(49.36, -50.42, 44.08)
CIE-LCHlch(49.36, 66.98, 138.84°)
OKLaboklab(54.69% -0.1364 0.0998)
OKLCHoklch(54.69% 0.169 143.8)
XYZxyz(9.4089, 17.8875, 4.3953)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168821 #88167D
analogous
#448816 #168821 #16885A
triadic
#168821 #211688 #882116
tetradic
#168821 #164488 #88167D #885A16
square
#168821 #164488 #88167D #885A16
split-complementary
#168821 #5A1688 #881644
monochromatic
#051F07 #0D5314 #168821 #1FBD2E #39DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168821#FFFFFF#000000##FFFFFF
##1688211.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)
#8B7A0D
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #168821;
/* rgb */ color: rgb(22, 136, 33);
/* oklch */ color: oklch(54.7% 0.169 143.8);
Tailwind
colors: {
  custom: {
    50: '#6bac63',
    500: '#168821',
    950: '#000000',
  },
}
SCSS
$custom: #168821;
$custom-light: #6bac63;
$custom-dark: #000000;
JSON
{
  "hex": "#168821",
  "rgb": {
    "r": 22,
    "g": 136,
    "b": 33
  },
  "hsl": {
    "h": 125.789,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.169,
    "h": 143.8
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #168821

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

Preview Lab → · Contrast checker → · Palette generator →

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