#168521#168521

#168521 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.8% C 0.166 H 143.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#168521
RGBrgb(22, 133, 33)
HSLhsl(126, 72%, 30%)
HSVhsv(126, 83%, 52%)
CMYKcmyk(83.5%, 0%, 75.2%, 47.8%)
CIE-LABlab(48.33, -49.45, 43.03)
CIE-LCHlch(48.33, 65.55, 138.97°)
OKLaboklab(53.84% -0.1337 0.0976)
OKLCHoklch(53.84% 0.166 143.9)
XYZxyz(8.9923, 17.0543, 4.2564)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168521 #85167A
analogous
#428516 #168521 #168558
triadic
#168521 #211685 #852116
tetradic
#168521 #164285 #85167A #855816
square
#168521 #164285 #85167A #855816
split-complementary
#168521 #581685 #851642
monochromatic
#051C07 #0D5014 #168521 #1FBA2E #37DE48

Accessibility & contrast

On white

4.76
#168521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#168521 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168521
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168521#FFFFFF#000000##FFFFFF
##1685211.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #168521;
/* rgb */ color: rgb(22, 133, 33);
/* oklch */ color: oklch(53.8% 0.166 143.9);
Tailwind
colors: {
  custom: {
    50: '#6aaa63',
    500: '#168521',
    950: '#000000',
  },
}
SCSS
$custom: #168521;
$custom-light: #6aaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#168521",
  "rgb": {
    "r": 22,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 125.946,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.16556,
    "h": 143.9
  },
  "luminance": 0.17055
}

Semantic roles & 50–950 ramp

primary
#168521
secondary
#B93EAD
accent
#39DCEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #168521

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

Preview Lab → · Contrast checker → · Palette generator →

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