#167221#167221

#167221 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.143 H 144.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#167221
RGBrgb(22, 114, 33)
HSLhsl(127, 68%, 27%)
HSVhsv(127, 81%, 45%)
CMYKcmyk(80.7%, 0%, 71.1%, 55.3%)
CIE-LABlab(41.71, -43.01, 36.11)
CIE-LCHlch(41.71, 56.16, 139.98°)
OKLaboklab(48.34% -0.1162 0.0831)
OKLCHoklch(48.34% 0.143 144.4)
XYZxyz(6.6223, 12.3142, 3.4664)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167221 #721667
analogous
#397216 #167221 #16724F
triadic
#167221 #211672 #722116
tetradic
#167221 #163972 #721667 #724F16
square
#167221 #163972 #721667 #724F16
split-complementary
#167221 #4F1672 #721639
monochromatic
#051A07 #0C3F12 #167221 #20A530 #2CD640

Accessibility & contrast

On white

6.06
#167221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#167221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167221
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167221#FFFFFF#000000##FFFFFF
##1672211.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746716
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #167221;
/* rgb */ color: rgb(22, 114, 33);
/* oklch */ color: oklch(48.3% 0.143 144.4);
Tailwind
colors: {
  custom: {
    50: '#659c61',
    500: '#167221',
    950: '#000000',
  },
}
SCSS
$custom: #167221;
$custom-light: #659c61;
$custom-dark: #000000;
JSON
{
  "hex": "#167221",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 127.174,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48335,
    "c": 0.14288,
    "h": 144.4
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#167221
secondary
#A83C9B
accent
#3DD6EB
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #167221

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

Preview Lab → · Contrast checker → · Palette generator →

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