#168E40#168E40

#168E40 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.152 H 149.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#168E40
RGBrgb(22, 142, 64)
HSLhsl(141, 73%, 32%)
HSVhsv(141, 85%, 56%)
CMYKcmyk(84.5%, 0%, 54.9%, 44.3%)
CIE-LABlab(51.71, -48.71, 32.58)
CIE-LCHlch(51.71, 58.60, 146.22°)
OKLaboklab(56.74% -0.1307 0.0783)
OKLCHoklch(56.74% 0.152 149.1)
XYZxyz(10.9284, 19.8854, 8.1118)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168E40 #8E1664
analogous
#288E16 #168E40 #168E7C
triadic
#168E40 #40168E #8E4016
tetradic
#168E40 #16288E #8E1664 #8E7C16
square
#168E40 #16288E #8E1664 #8E7C16
split-complementary
#168E40 #7C168E #8E1628
monochromatic
#062410 #0E5928 #168E40 #1EC358 #3DE177

Accessibility & contrast

On white

4.22
#168E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#168E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168E40
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168E40#FFFFFF#000000##000000
##168E401.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #168e40;
/* rgb */ color: rgb(22, 142, 64);
/* oklch */ color: oklch(56.7% 0.152 149.1);
Tailwind
colors: {
  custom: {
    50: '#6bb077',
    500: '#168e40',
    950: '#000000',
  },
}
SCSS
$custom: #168e40;
$custom-light: #6bb077;
$custom-dark: #000000;
JSON
{
  "hex": "#168e40",
  "rgb": {
    "r": 22,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 141,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.15236,
    "h": 149.1
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#168E40
secondary
#C13F93
accent
#38AFF0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #168E40

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

Preview Lab → · Contrast checker → · Palette generator →

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