#168726#168726

#168726 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.165 H 144.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#168726
RGBrgb(22, 135, 38)
HSLhsl(128, 72%, 31%)
HSVhsv(128, 84%, 53%)
CMYKcmyk(83.7%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.05, -49.64, 41.78)
CIE-LCHlch(49.05, 64.88, 139.91°)
OKLaboklab(54.45% -0.134 0.0956)
OKLCHoklch(54.45% 0.165 144.5)
XYZxyz(9.3440, 17.6373, 4.7452)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168726 #871677
analogous
#3E8716 #168726 #16875E
triadic
#168726 #261687 #872616
tetradic
#168726 #163E87 #871677 #875E16
square
#168726 #163E87 #871677 #875E16
split-complementary
#168726 #5E1687 #87163E
monochromatic
#051E08 #0D5217 #168726 #1FBC35 #39DF50

Accessibility & contrast

On white

4.64
#168726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#168726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #168726
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168726#FFFFFF#000000##FFFFFF
##1687261.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#7E7130
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #168726;
/* rgb */ color: rgb(22, 135, 38);
/* oklch */ color: oklch(54.5% 0.165 144.5);
Tailwind
colors: {
  custom: {
    50: '#6bab66',
    500: '#168726',
    950: '#000000',
  },
}
SCSS
$custom: #168726;
$custom-light: #6bab66;
$custom-dark: #000000;
JSON
{
  "hex": "#168726",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 128.496,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54451,
    "c": 0.16464,
    "h": 144.5
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#168726
secondary
#BB3EA9
accent
#39D5EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168726

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

Preview Lab → · Contrast checker → · Palette generator →

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