#168221#168221

#168221 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.162 H 143.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#168221
RGBrgb(22, 130, 33)
HSLhsl(126, 71%, 30%)
HSVhsv(126, 83%, 51%)
CMYKcmyk(83.1%, 0%, 74.6%, 49%)
CIE-LABlab(47.29, -48.46, 41.97)
CIE-LCHlch(47.29, 64.11, 139.10°)
OKLaboklab(52.98% -0.131 0.0954)
OKLCHoklch(52.98% 0.162 143.9)
XYZxyz(8.5874, 16.2446, 4.1215)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168221 #821677
analogous
#418216 #168221 #168257
triadic
#168221 #211682 #822116
tetradic
#168221 #164182 #821677 #825716
square
#168221 #164182 #821677 #825716
split-complementary
#168221 #571682 #821641
monochromatic
#041A07 #0D4E14 #168221 #1FB62E #35DD47

Accessibility & contrast

On white

4.94
#168221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#168221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168221
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168221#FFFFFF#000000##FFFFFF
##1682211.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #168221;
/* rgb */ color: rgb(22, 130, 33);
/* oklch */ color: oklch(53.0% 0.162 143.9);
Tailwind
colors: {
  custom: {
    50: '#69a763',
    500: '#168221',
    950: '#000000',
  },
}
SCSS
$custom: #168221;
$custom-light: #69a763;
$custom-dark: #000000;
JSON
{
  "hex": "#168221",
  "rgb": {
    "r": 22,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 126.111,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.16208,
    "h": 143.9
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#168221
secondary
#B73DAA
accent
#3ADBEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #168221

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

Preview Lab → · Contrast checker → · Palette generator →

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