#167212#167212

#167212 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.152 H 142.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#167212
RGBrgb(22, 114, 18)
HSLhsl(118, 73%, 26%)
HSVhsv(118, 84%, 45%)
CMYKcmyk(80.7%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.61, -44.29, 41.76)
CIE-LCHlch(41.61, 60.87, 136.68°)
OKLaboklab(48.22% -0.1204 0.0928)
OKLCHoklch(48.22% 0.152 142.4)
XYZxyz(6.4570, 12.2481, 2.5960)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167212 #6E1272
analogous
#467212 #167212 #12723E
triadic
#167212 #121672 #721216
tetradic
#167212 #124672 #6E1272 #723E12
square
#167212 #124672 #6E1272 #723E12
split-complementary
#167212 #3E1272 #721246
monochromatic
#051A04 #0C3D0A #167212 #20A71A #2ADC23

Accessibility & contrast

On white

6.09
#167212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#167212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167212
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167212#FFFFFF#000000##FFFFFF
##1672121.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #167212;
/* rgb */ color: rgb(22, 114, 18);
/* oklch */ color: oklch(48.2% 0.152 142.4);
Tailwind
colors: {
  custom: {
    50: '#669c59',
    500: '#167212',
    950: '#000000',
  },
}
SCSS
$custom: #167212;
$custom-light: #669c59;
$custom-dark: #000000;
JSON
{
  "hex": "#167212",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 117.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.15203,
    "h": 142.4
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#167212
secondary
#A437A9
accent
#38EFE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #167212

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

Preview Lab → · Contrast checker → · Palette generator →

#167212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva