#167A21#167A21

#167A21 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.153 H 144.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#167A21
RGBrgb(22, 122, 33)
HSLhsl(127, 69%, 28%)
HSVhsv(127, 82%, 48%)
CMYKcmyk(82%, 0%, 73%, 52.2%)
CIE-LABlab(44.52, -45.77, 39.09)
CIE-LCHlch(44.52, 60.20, 139.50°)
OKLaboklab(50.67% -0.1237 0.0894)
OKLCHoklch(50.67% 0.153 144.2)
XYZxyz(7.5644, 14.1985, 3.7805)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167A21 #7A166F
analogous
#3D7A16 #167A21 #167A53
triadic
#167A21 #21167A #7A2116
tetradic
#167A21 #163D7A #7A166F #7A5316
square
#167A21 #163D7A #7A166F #7A5316
split-complementary
#167A21 #53167A #7A163D
monochromatic
#051A07 #0D4613 #167A21 #1FAE2F #31DA43

Accessibility & contrast

On white

5.47
#167A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#167A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167A21
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167A21#FFFFFF#000000##FFFFFF
##167A211.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E13
Deuteranopia (green-blind)
#72662A
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #167a21;
/* rgb */ color: rgb(22, 122, 33);
/* oklch */ color: oklch(50.7% 0.153 144.2);
Tailwind
colors: {
  custom: {
    50: '#67a162',
    500: '#167a21',
    950: '#000000',
  },
}
SCSS
$custom: #167a21;
$custom-light: #67a162;
$custom-dark: #000000;
JSON
{
  "hex": "#167a21",
  "rgb": {
    "r": 22,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 126.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.15263,
    "h": 144.2
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#167A21
secondary
#AF3DA3
accent
#3CD9EC
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #167A21

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

Preview Lab → · Contrast checker → · Palette generator →

#167A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva