#168918#168918

#168918 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.175 H 142.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#168918
RGBrgb(22, 137, 24)
HSLhsl(121, 72%, 31%)
HSVhsv(121, 84%, 54%)
CMYKcmyk(83.9%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.65, -51.41, 47.46)
CIE-LCHlch(49.65, 69.97, 137.29°)
OKLaboklab(54.92% -0.1395 0.1056)
OKLCHoklch(54.92% 0.175 142.9)
XYZxyz(9.4408, 18.1267, 3.8652)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168918 #891687
analogous
#4D8916 #168918 #168951
triadic
#168918 #181689 #891816
tetradic
#168918 #164D89 #891687 #895116
square
#168918 #164D89 #891687 #895116
split-complementary
#168918 #511689 #89164D
monochromatic
#052006 #0E540F #168918 #1EBE21 #3ADF3D

Accessibility & contrast

On white

4.54
#168918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#168918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168918
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168918#FFFFFF#000000##000000
##1689181.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #168918;
/* rgb */ color: rgb(22, 137, 24);
/* oklch */ color: oklch(54.9% 0.175 142.9);
Tailwind
colors: {
  custom: {
    50: '#6cad5f',
    500: '#168918',
    950: '#000000',
  },
}
SCSS
$custom: #168918;
$custom-light: #6cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#168918",
  "rgb": {
    "r": 22,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 121.043,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.17492,
    "h": 142.9
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#168918
secondary
#BD3EBB
accent
#39ECEF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #168918

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

Preview Lab → · Contrast checker → · Palette generator →

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