#167218#167218

#167218 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.149 H 143.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#167218
RGBrgb(22, 114, 24)
HSLhsl(121, 68%, 27%)
HSVhsv(121, 81%, 45%)
CMYKcmyk(80.7%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.64, -43.86, 39.73)
CIE-LCHlch(41.64, 59.18, 137.83°)
OKLaboklab(48.26% -0.1189 0.0895)
OKLCHoklch(48.26% 0.149 143.1)
XYZxyz(6.5126, 12.2704, 2.8892)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167218 #721670
analogous
#427216 #167218 #167246
triadic
#167218 #181672 #721816
tetradic
#167218 #164272 #721670 #724616
square
#167218 #164272 #721670 #724616
split-complementary
#167218 #461672 #721642
monochromatic
#051A05 #0C3F0D #167218 #20A523 #2CD630

Accessibility & contrast

On white

6.08
#167218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#167218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167218
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167218#FFFFFF#000000##FFFFFF
##1672181.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756605
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #167218;
/* rgb */ color: rgb(22, 114, 24);
/* oklch */ color: oklch(48.3% 0.149 143.1);
Tailwind
colors: {
  custom: {
    50: '#669c5c',
    500: '#167218',
    950: '#000000',
  },
}
SCSS
$custom: #167218;
$custom-light: #669c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#167218",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 121.304,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.14884,
    "h": 143.1
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#167218
secondary
#A83CA5
accent
#3DE7EB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #167218

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

Preview Lab → · Contrast checker → · Palette generator →

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