#168040#168040

#168040 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.134 H 150.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#168040
RGBrgb(22, 128, 64)
HSLhsl(144, 71%, 29%)
HSVhsv(144, 83%, 50%)
CMYKcmyk(82.8%, 0%, 50%, 49.8%)
CIE-LABlab(46.95, -43.63, 26.69)
CIE-LCHlch(46.95, 51.15, 148.55°)
OKLaboklab(52.8% -0.1171 0.0651)
OKLCHoklch(52.8% 0.134 150.9)
XYZxyz(8.9747, 15.9780, 7.4606)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168040 #801656
analogous
#218016 #168040 #168075
triadic
#168040 #401680 #804016
tetradic
#168040 #162180 #801656 #807516
square
#168040 #162180 #801656 #807516
split-complementary
#168040 #751680 #801621
monochromatic
#041A0D #0D4C26 #168040 #1FB45A #34DC77

Accessibility & contrast

On white

5.01
#168040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#168040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168040
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168040#FFFFFF#000000##FFFFFF
##1680401.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81743B
Deuteranopia (green-blind)
#756C45
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #168040;
/* rgb */ color: rgb(22, 128, 64);
/* oklch */ color: oklch(52.8% 0.134 150.9);
Tailwind
colors: {
  custom: {
    50: '#68a676',
    500: '#168040',
    950: '#000000',
  },
}
SCSS
$custom: #168040;
$custom-light: #68a676;
$custom-dark: #000000;
JSON
{
  "hex": "#168040",
  "rgb": {
    "r": 22,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 143.774,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.13401,
    "h": 150.9
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#168040
secondary
#B53D85
accent
#3AA6ED
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #168040

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

Preview Lab → · Contrast checker → · Palette generator →

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