#167C20#167C20

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

Color values

HEX#167C20
RGBrgb(22, 124, 32)
HSLhsl(126, 70%, 29%)
HSVhsv(126, 82%, 49%)
CMYKcmyk(82.3%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.21, -46.55, 40.22)
CIE-LCHlch(45.21, 61.52, 139.17°)
OKLaboklab(51.24% -0.1259 0.0916)
OKLCHoklch(51.24% 0.156 144)
XYZxyz(7.7987, 14.6892, 3.7905)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167C20 #7C1672
analogous
#3F7C16 #167C20 #167C53
triadic
#167C20 #20167C #7C2016
tetradic
#167C20 #163F7C #7C1672 #7C5316
square
#167C20 #163F7C #7C1672 #7C5316
split-complementary
#167C20 #53167C #7C163F
monochromatic
#051A07 #0D4813 #167C20 #1FB02D #32DB42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167C20#FFFFFF#000000##FFFFFF
##167C201.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)
#7E7011
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #167c20;
/* rgb */ color: rgb(22, 124, 32);
/* oklch */ color: oklch(51.2% 0.156 144.0);
Tailwind
colors: {
  custom: {
    50: '#68a361',
    500: '#167c20',
    950: '#000000',
  },
}
SCSS
$custom: #167c20;
$custom-light: #68a361;
$custom-dark: #000000;
JSON
{
  "hex": "#167c20",
  "rgb": {
    "r": 22,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 125.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51237,
    "c": 0.15569,
    "h": 144
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#167C20
secondary
#B13DA6
accent
#3BDBED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167C20

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

Preview Lab → · Contrast checker → · Palette generator →

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