#16871A#16871A

#16871A is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.172 H 143.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#16871A
RGBrgb(22, 135, 26)
HSLhsl(122, 72%, 31%)
HSVhsv(122, 84%, 53%)
CMYKcmyk(83.7%, 0%, 80.7%, 47.1%)
CIE-LABlab(48.97, -50.64, 46.18)
CIE-LCHlch(48.97, 68.54, 137.64°)
OKLaboklab(54.36% -0.1373 0.1032)
OKLCHoklch(54.36% 0.172 143.1)
XYZxyz(9.1807, 17.5720, 3.8850)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16871A #871683
analogous
#4A8716 #16871A #168752
triadic
#16871A #1A1687 #871A16
tetradic
#16871A #164A87 #871683 #875216
square
#16871A #164A87 #871683 #875216
split-complementary
#16871A #521687 #87164A
monochromatic
#051E06 #0D5210 #16871A #1FBC24 #39DF3F

Accessibility & contrast

On white

4.65
#16871A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#16871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #16871A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16871A#FFFFFF#000000##FFFFFF
##16871A1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #16871a;
/* rgb */ color: rgb(22, 135, 26);
/* oklch */ color: oklch(54.4% 0.172 143.1);
Tailwind
colors: {
  custom: {
    50: '#6bab60',
    500: '#16871a',
    950: '#000000',
  },
}
SCSS
$custom: #16871a;
$custom-light: #6bab60;
$custom-dark: #000000;
JSON
{
  "hex": "#16871a",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 122.124,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.17174,
    "h": 143.1
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#16871A
secondary
#BB3EB7
accent
#39E8EF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #16871A

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

Preview Lab → · Contrast checker → · Palette generator →

#16871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva