#168012#168012

#168012 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.168 H 142.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#168012
RGBrgb(22, 128, 18)
HSLhsl(118, 75%, 29%)
HSVhsv(118, 86%, 50%)
CMYKcmyk(82.8%, 0%, 85.9%, 49.8%)
CIE-LABlab(46.51, -48.90, 46.30)
CIE-LCHlch(46.51, 67.34, 136.56°)
OKLaboklab(52.3% -0.1329 0.1023)
OKLCHoklch(52.3% 0.168 142.4)
XYZxyz(8.1587, 15.6516, 3.1632)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168012 #7C1280
analogous
#4D8012 #168012 #128045
triadic
#168012 #121680 #801216
tetradic
#168012 #124D80 #7C1280 #804512
square
#168012 #124D80 #7C1280 #804512
split-complementary
#168012 #451280 #80124D
monochromatic
#051B04 #0D4A0A #168012 #1FB61A #32E12B

Accessibility & contrast

On white

5.08
#168012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#168012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168012
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168012#FFFFFF#000000##FFFFFF
##1680121.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#007C6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #168012;
/* rgb */ color: rgb(22, 128, 18);
/* oklch */ color: oklch(52.3% 0.168 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa65c',
    500: '#168012',
    950: '#000000',
  },
}
SCSS
$custom: #168012;
$custom-light: #6aa65c;
$custom-dark: #000000;
JSON
{
  "hex": "#168012",
  "rgb": {
    "r": 22,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 117.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.1677,
    "h": 142.4
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#168012
secondary
#B138B6
accent
#36F2EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #168012

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

Preview Lab → · Contrast checker → · Palette generator →

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