#167E12#167E12

#167E12 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.165 H 142.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#167E12
RGBrgb(22, 126, 18)
HSLhsl(118, 75%, 28%)
HSVhsv(118, 86%, 49%)
CMYKcmyk(82.5%, 0%, 85.7%, 50.6%)
CIE-LABlab(45.82, -48.25, 45.66)
CIE-LCHlch(45.82, 66.43, 136.58°)
OKLaboklab(51.72% -0.1311 0.101)
OKLCHoklch(51.72% 0.165 142.4)
XYZxyz(7.9004, 15.1350, 3.0771)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167E12 #7A127E
analogous
#4C7E12 #167E12 #127E44
triadic
#167E12 #12167E #7E1216
tetradic
#167E12 #124C7E #7A127E #7E4412
square
#167E12 #124C7E #7A127E #7E4412
split-complementary
#167E12 #44127E #7E124C
monochromatic
#051B04 #0D480A #167E12 #1FB41A #31E12A

Accessibility & contrast

On white

5.21
#167E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#167E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167E12
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167E12#FFFFFF#000000##FFFFFF
##167E121.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #167e12;
/* rgb */ color: rgb(22, 126, 18);
/* oklch */ color: oklch(51.7% 0.165 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a45b',
    500: '#167e12',
    950: '#000000',
  },
}
SCSS
$custom: #167e12;
$custom-light: #69a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#167e12",
  "rgb": {
    "r": 22,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 117.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.16549,
    "h": 142.4
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #167E12

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

Preview Lab → · Contrast checker → · Palette generator →

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