#168421#168421

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

Color values

HEX#168421
RGBrgb(22, 132, 33)
HSLhsl(126, 71%, 30%)
HSVhsv(126, 83%, 52%)
CMYKcmyk(83.3%, 0%, 75%, 48.2%)
CIE-LABlab(47.98, -49.12, 42.68)
CIE-LCHlch(47.98, 65.07, 139.01°)
OKLaboklab(53.55% -0.1328 0.0969)
OKLCHoklch(53.55% 0.164 143.9)
XYZxyz(8.8561, 16.7818, 4.2110)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168421 #841679
analogous
#428416 #168421 #168458
triadic
#168421 #211684 #842116
tetradic
#168421 #164284 #841679 #845816
square
#168421 #164284 #841679 #845816
split-complementary
#168421 #581684 #841642
monochromatic
#051B07 #0D5014 #168421 #1FB82E #37DE47

Accessibility & contrast

On white

4.82
#168421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#168421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168421
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168421#FFFFFF#000000##FFFFFF
##1684211.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #168421;
/* rgb */ color: rgb(22, 132, 33);
/* oklch */ color: oklch(53.5% 0.164 143.9);
Tailwind
colors: {
  custom: {
    50: '#6aa963',
    500: '#168421',
    950: '#000000',
  },
}
SCSS
$custom: #168421;
$custom-light: #6aa963;
$custom-dark: #000000;
JSON
{
  "hex": "#168421",
  "rgb": {
    "r": 22,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 126,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.1644,
    "h": 143.9
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#168421
secondary
#B83DAC
accent
#3ADCEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #168421

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

Preview Lab → · Contrast checker → · Palette generator →

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