#168D27#168D27

#168D27 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.171 H 144.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#168D27
RGBrgb(22, 141, 39)
HSLhsl(129, 73%, 32%)
HSVhsv(129, 84%, 55%)
CMYKcmyk(84.4%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.11, -51.51, 43.53)
CIE-LCHlch(51.11, 67.44, 139.80°)
OKLaboklab(56.17% -0.1391 0.0994)
OKLCHoklch(56.17% 0.171 144.4)
XYZxyz(10.2212, 19.3655, 5.1183)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168D27 #8D167C
analogous
#418D16 #168D27 #168D62
triadic
#168D27 #27168D #8D2716
tetradic
#168D27 #16418D #8D167C #8D6216
square
#168D27 #16418D #8D167C #8D6216
split-complementary
#168D27 #62168D #8D1641
monochromatic
#05230A #0E5818 #168D27 #1EC236 #3DE154

Accessibility & contrast

On white

4.31
#168D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#168D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168D27
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168D27#FFFFFF#000000##000000
##168D271.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168d27;
/* rgb */ color: rgb(22, 141, 39);
/* oklch */ color: oklch(56.2% 0.171 144.4);
Tailwind
colors: {
  custom: {
    50: '#6cb067',
    500: '#168d27',
    950: '#000000',
  },
}
SCSS
$custom: #168d27;
$custom-light: #6cb067;
$custom-dark: #000000;
JSON
{
  "hex": "#168d27",
  "rgb": {
    "r": 22,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 128.571,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.17096,
    "h": 144.4
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#168D27
secondary
#C13EAE
accent
#38D5F0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #168D27

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

Preview Lab → · Contrast checker → · Palette generator →

#168D27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva