#167312#167312

#167312 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.5% C 0.153 H 142.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#167312
RGBrgb(22, 115, 18)
HSLhsl(118, 73%, 26%)
HSVhsv(118, 84%, 45%)
CMYKcmyk(80.9%, 0%, 84.3%, 54.9%)
CIE-LABlab(41.96, -44.63, 42.09)
CIE-LCHlch(41.96, 61.35, 136.67°)
OKLaboklab(48.51% -0.1213 0.0935)
OKLCHoklch(48.51% 0.153 142.4)
XYZxyz(6.5704, 12.4749, 2.6338)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167312 #6F1273
analogous
#467312 #167312 #12733E
triadic
#167312 #121673 #731216
tetradic
#167312 #124673 #6F1273 #733E12
square
#167312 #124673 #6F1273 #733E12
split-complementary
#167312 #3E1273 #731246
monochromatic
#051A04 #0C3E0A #167312 #20A81A #2BDD23

Accessibility & contrast

On white

6.01
#167312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#167312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167312
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167312#FFFFFF#000000##FFFFFF
##1673121.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #167312;
/* rgb */ color: rgb(22, 115, 18);
/* oklch */ color: oklch(48.5% 0.153 142.4);
Tailwind
colors: {
  custom: {
    50: '#669c59',
    500: '#167312',
    950: '#000000',
  },
}
SCSS
$custom: #167312;
$custom-light: #669c59;
$custom-dark: #000000;
JSON
{
  "hex": "#167312",
  "rgb": {
    "r": 22,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 117.526,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.15318,
    "h": 142.4
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#167312
secondary
#A537AA
accent
#38F0E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #167312

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

Preview Lab → · Contrast checker → · Palette generator →

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