#167B21#167B21

#167B21 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.154 H 144.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#167B21
RGBrgb(22, 123, 33)
HSLhsl(127, 70%, 28%)
HSVhsv(127, 82%, 48%)
CMYKcmyk(82.1%, 0%, 73.2%, 51.8%)
CIE-LABlab(44.87, -46.12, 39.46)
CIE-LCHlch(44.87, 60.69, 139.45°)
OKLaboklab(50.96% -0.1246 0.0901)
OKLCHoklch(50.96% 0.154 144.1)
XYZxyz(7.6878, 14.4454, 3.8216)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B21 #7B1670
analogous
#3D7B16 #167B21 #167B53
triadic
#167B21 #21167B #7B2116
tetradic
#167B21 #163D7B #7B1670 #7B5316
square
#167B21 #163D7B #7B1670 #7B5316
split-complementary
#167B21 #53167B #7B163D
monochromatic
#051A07 #0D4713 #167B21 #1FAF2F #31DA44

Accessibility & contrast

On white

5.40
#167B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#167B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167B21
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167B21#FFFFFF#000000##FFFFFF
##167B211.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F13
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167b21;
/* rgb */ color: rgb(22, 123, 33);
/* oklch */ color: oklch(51.0% 0.154 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a262',
    500: '#167b21',
    950: '#000000',
  },
}
SCSS
$custom: #167b21;
$custom-light: #68a262;
$custom-dark: #000000;
JSON
{
  "hex": "#167b21",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 126.535,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.15383,
    "h": 144.1
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#167B21
secondary
#B03DA4
accent
#3BD9EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #167B21

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

Preview Lab → · Contrast checker → · Palette generator →

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