#167818#167818

#167818 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.156 H 143.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#167818
RGBrgb(22, 120, 24)
HSLhsl(121, 69%, 28%)
HSVhsv(121, 82%, 47%)
CMYKcmyk(81.7%, 0%, 80%, 52.9%)
CIE-LABlab(43.75, -45.88, 41.81)
CIE-LCHlch(43.75, 62.07, 137.66°)
OKLaboklab(50.01% -0.1244 0.0938)
OKLCHoklch(50.01% 0.156 143)
XYZxyz(7.2118, 13.6686, 3.1222)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167818 #781676
analogous
#457816 #167818 #167849
triadic
#167818 #181678 #781816
tetradic
#167818 #164578 #781676 #784916
square
#167818 #164578 #781676 #784916
split-complementary
#167818 #491678 #781645
monochromatic
#051A05 #0D440E #167818 #1FAC22 #2FD933

Accessibility & contrast

On white

5.62
#167818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#167818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167818
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167818#FFFFFF#000000##FFFFFF
##1678181.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #167818;
/* rgb */ color: rgb(22, 120, 24);
/* oklch */ color: oklch(50.0% 0.156 143.0);
Tailwind
colors: {
  custom: {
    50: '#67a05d',
    500: '#167818',
    950: '#000000',
  },
}
SCSS
$custom: #167818;
$custom-light: #67a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#167818",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 121.224,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.15583,
    "h": 143
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#167818
secondary
#AD3CAB
accent
#3CE8EC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #167818

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

Preview Lab → · Contrast checker → · Palette generator →

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