#16871B#16871B

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

Color values

HEX#16871B
RGBrgb(22, 135, 27)
HSLhsl(123, 72%, 31%)
HSVhsv(123, 84%, 53%)
CMYKcmyk(83.7%, 0%, 80%, 47.1%)
CIE-LABlab(48.98, -50.57, 45.85)
CIE-LCHlch(48.98, 68.26, 137.80°)
OKLaboklab(54.36% -0.137 0.1027)
OKLCHoklch(54.36% 0.171 143.2)
XYZxyz(9.1921, 17.5765, 3.9449)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16871B #871682
analogous
#498716 #16871B #168753
triadic
#16871B #1B1687 #871B16
tetradic
#16871B #164987 #871682 #875316
square
#16871B #164987 #871682 #875316
split-complementary
#16871B #531687 #871649
monochromatic
#051E06 #0D5210 #16871B #1FBC26 #39DF40

Accessibility & contrast

On white

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

On black

4.52
#16871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##16871B#FFFFFF#000000##FFFFFF
##16871B1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16871b;
/* rgb */ color: rgb(22, 135, 27);
/* oklch */ color: oklch(54.4% 0.171 143.2);
Tailwind
colors: {
  custom: {
    50: '#6bab60',
    500: '#16871b',
    950: '#000000',
  },
}
SCSS
$custom: #16871b;
$custom-light: #6bab60;
$custom-dark: #000000;
JSON
{
  "hex": "#16871b",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 122.655,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.17124,
    "h": 143.2
  },
  "luminance": 0.17578
}

Semantic roles & 50–950 ramp

primary
#16871B
secondary
#BB3EB6
accent
#39E7EF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #16871B

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

Preview Lab → · Contrast checker → · Palette generator →

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