#167C21#167C21

#167C21 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.155 H 144.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#167C21
RGBrgb(22, 124, 33)
HSLhsl(126, 70%, 29%)
HSVhsv(126, 82%, 49%)
CMYKcmyk(82.3%, 0%, 73.4%, 51.4%)
CIE-LABlab(45.21, -46.45, 39.82)
CIE-LCHlch(45.21, 61.18, 139.40°)
OKLaboklab(51.25% -0.1256 0.0909)
OKLCHoklch(51.25% 0.155 144.1)
XYZxyz(7.8125, 14.6947, 3.8632)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167C21 #7C1671
analogous
#3E7C16 #167C21 #167C54
triadic
#167C21 #21167C #7C2116
tetradic
#167C21 #163E7C #7C1671 #7C5416
square
#167C21 #163E7C #7C1671 #7C5416
split-complementary
#167C21 #54167C #7C163E
monochromatic
#051A07 #0D4813 #167C21 #1FB02F #32DB44

Accessibility & contrast

On white

5.33
#167C21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#167C21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167C21
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167C21#FFFFFF#000000##FFFFFF
##167C211.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7012
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #167c21;
/* rgb */ color: rgb(22, 124, 33);
/* oklch */ color: oklch(51.2% 0.155 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a362',
    500: '#167c21',
    950: '#000000',
  },
}
SCSS
$custom: #167c21;
$custom-light: #68a362;
$custom-dark: #000000;
JSON
{
  "hex": "#167c21",
  "rgb": {
    "r": 22,
    "g": 124,
    "b": 33
  },
  "hsl": {
    "h": 126.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.15502,
    "h": 144.1
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #167C21

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

Preview Lab → · Contrast checker → · Palette generator →

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