#167F12#167F12

#167F12 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.167 H 142.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#167F12
RGBrgb(22, 127, 18)
HSLhsl(118, 75%, 28%)
HSVhsv(118, 86%, 50%)
CMYKcmyk(82.7%, 0%, 85.8%, 50.2%)
CIE-LABlab(46.17, -48.57, 45.98)
CIE-LCHlch(46.17, 66.89, 136.57°)
OKLaboklab(52.01% -0.132 0.1016)
OKLCHoklch(52.01% 0.167 142.4)
XYZxyz(8.0289, 15.3920, 3.1200)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F12 #7B127F
analogous
#4C7F12 #167F12 #127F44
triadic
#167F12 #12167F #7F1216
tetradic
#167F12 #124C7F #7B127F #7F4412
square
#167F12 #124C7F #7B127F #7F4412
split-complementary
#167F12 #44127F #7F124C
monochromatic
#051B04 #0D490A #167F12 #1FB51A #31E12B

Accessibility & contrast

On white

5.15
#167F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#167F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F12
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F12#FFFFFF#000000##FFFFFF
##167F121.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #167f12;
/* rgb */ color: rgb(22, 127, 18);
/* oklch */ color: oklch(52.0% 0.167 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a55b',
    500: '#167f12',
    950: '#000000',
  },
}
SCSS
$custom: #167f12;
$custom-light: #69a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#167f12",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 117.798,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.1666,
    "h": 142.4
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#167F12
secondary
#B038B5
accent
#36F2EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #167F12

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

Preview Lab → · Contrast checker → · Palette generator →

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