#167E21#167E21

#167E21 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.157 H 144.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#167E21
RGBrgb(22, 126, 33)
HSLhsl(126, 70%, 29%)
HSVhsv(126, 83%, 49%)
CMYKcmyk(82.5%, 0%, 73.8%, 50.6%)
CIE-LABlab(45.91, -47.13, 40.54)
CIE-LCHlch(45.91, 62.17, 139.29°)
OKLaboklab(51.82% -0.1274 0.0924)
OKLCHoklch(51.82% 0.157 144)
XYZxyz(8.0657, 15.2011, 3.9476)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167E21 #7E1673
analogous
#3F7E16 #167E21 #167E55
triadic
#167E21 #21167E #7E2116
tetradic
#167E21 #163F7E #7E1673 #7E5516
square
#167E21 #163F7E #7E1673 #7E5516
split-complementary
#167E21 #55167E #7E163F
monochromatic
#051A07 #0D4A13 #167E21 #1FB22F #33DB45

Accessibility & contrast

On white

5.20
#167E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#167E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167E21
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167E21#FFFFFF#000000##FFFFFF
##167E211.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817112
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #167e21;
/* rgb */ color: rgb(22, 126, 33);
/* oklch */ color: oklch(51.8% 0.157 144.0);
Tailwind
colors: {
  custom: {
    50: '#68a462',
    500: '#167e21',
    950: '#000000',
  },
}
SCSS
$custom: #167e21;
$custom-light: #68a462;
$custom-dark: #000000;
JSON
{
  "hex": "#167e21",
  "rgb": {
    "r": 22,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 126.346,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.15739,
    "h": 144
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#167E21
secondary
#B33DA6
accent
#3BDAED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #167E21

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

Preview Lab → · Contrast checker → · Palette generator →

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