#168740#168740

#168740 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.143 H 149.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#168740
RGBrgb(22, 135, 64)
HSLhsl(142, 72%, 31%)
HSVhsv(142, 84%, 53%)
CMYKcmyk(83.7%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.34, -46.21, 29.67)
CIE-LCHlch(49.34, 54.92, 147.30°)
OKLaboklab(54.78% -0.124 0.0718)
OKLCHoklch(54.78% 0.143 149.9)
XYZxyz(9.9194, 17.8675, 7.7755)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168740 #87165D
analogous
#248716 #168740 #168778
triadic
#168740 #401687 #874016
tetradic
#168740 #162487 #87165D #877816
square
#168740 #162487 #87165D #877816
split-complementary
#168740 #781687 #871624
monochromatic
#051E0E #0D5227 #168740 #1FBC59 #39DF76

Accessibility & contrast

On white

4.59
#168740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#168740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #168740
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168740#FFFFFF#000000##FFFFFF
##1687401.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#7B7245
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #168740;
/* rgb */ color: rgb(22, 135, 64);
/* oklch */ color: oklch(54.8% 0.143 149.9);
Tailwind
colors: {
  custom: {
    50: '#69ab76',
    500: '#168740',
    950: '#000000',
  },
}
SCSS
$custom: #168740;
$custom-light: #69ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#168740",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 142.301,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.1433,
    "h": 149.9
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#168740
secondary
#BB3E8C
accent
#39ABEF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #168740

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

Preview Lab → · Contrast checker → · Palette generator →

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