#168D40#168D40

#168D40 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.151 H 149.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#168D40
RGBrgb(22, 141, 64)
HSLhsl(141, 73%, 32%)
HSVhsv(141, 84%, 55%)
CMYKcmyk(84.4%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.37, -48.36, 32.17)
CIE-LCHlch(51.37, 58.08, 146.37°)
OKLaboklab(56.46% -0.1297 0.0774)
OKLCHoklch(56.46% 0.151 149.2)
XYZxyz(10.7803, 19.5891, 8.0624)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168D40 #8D1663
analogous
#288D16 #168D40 #168D7B
triadic
#168D40 #40168D #8D4016
tetradic
#168D40 #16288D #8D1663 #8D7B16
square
#168D40 #16288D #8D1663 #8D7B16
split-complementary
#168D40 #7B168D #8D1628
monochromatic
#052310 #0E5828 #168D40 #1EC258 #3DE177

Accessibility & contrast

On white

4.27
#168D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#168D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168D40
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168D40#FFFFFF#000000##000000
##168D401.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#817746
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168d40;
/* rgb */ color: rgb(22, 141, 64);
/* oklch */ color: oklch(56.5% 0.151 149.2);
Tailwind
colors: {
  custom: {
    50: '#6baf77',
    500: '#168d40',
    950: '#000000',
  },
}
SCSS
$custom: #168d40;
$custom-light: #6baf77;
$custom-dark: #000000;
JSON
{
  "hex": "#168d40",
  "rgb": {
    "r": 22,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 141.176,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.15108,
    "h": 149.2
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#168D40
secondary
#C13E93
accent
#38AFF0
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #168D40

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

Preview Lab → · Contrast checker → · Palette generator →

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