#167512#167512

#167512 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.155 H 142.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#167512
RGBrgb(22, 117, 18)
HSLhsl(118, 73%, 26%)
HSVhsv(118, 85%, 46%)
CMYKcmyk(81.2%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.67, -45.30, 42.75)
CIE-LCHlch(42.67, 62.29, 136.66°)
OKLaboklab(49.1% -0.1231 0.0949)
OKLCHoklch(49.1% 0.155 142.4)
XYZxyz(6.8009, 12.9360, 2.7106)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167512 #711275
analogous
#487512 #167512 #127540
triadic
#167512 #121675 #751216
tetradic
#167512 #124875 #711275 #754012
square
#167512 #124875 #711275 #754012
split-complementary
#167512 #401275 #751248
monochromatic
#051B04 #0C400A #167512 #20AA1A #2CDD24

Accessibility & contrast

On white

5.85
#167512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#167512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167512
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167512#FFFFFF#000000##FFFFFF
##1675121.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #167512;
/* rgb */ color: rgb(22, 117, 18);
/* oklch */ color: oklch(49.1% 0.155 142.4);
Tailwind
colors: {
  custom: {
    50: '#679e5a',
    500: '#167512',
    950: '#000000',
  },
}
SCSS
$custom: #167512;
$custom-light: #679e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#167512",
  "rgb": {
    "r": 22,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 117.576,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49097,
    "c": 0.15545,
    "h": 142.4
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#167512
secondary
#A737AC
accent
#38F0E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #167512

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

Preview Lab → · Contrast checker → · Palette generator →

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