#16871C#16871C

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

Color values

HEX#16871C
RGBrgb(22, 135, 28)
HSLhsl(123, 72%, 31%)
HSVhsv(123, 84%, 53%)
CMYKcmyk(83.7%, 0%, 79.3%, 47.1%)
CIE-LABlab(48.98, -50.50, 45.52)
CIE-LCHlch(48.98, 67.99, 137.97°)
OKLaboklab(54.37% -0.1368 0.1021)
OKLCHoklch(54.37% 0.171 143.3)
XYZxyz(9.2038, 17.5812, 4.0068)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16871C #871681
analogous
#488716 #16871C #168754
triadic
#16871C #1C1687 #871C16
tetradic
#16871C #164887 #871681 #875416
square
#16871C #164887 #871681 #875416
split-complementary
#16871C #541687 #871648
monochromatic
#051E06 #0D5211 #16871C #1FBC27 #39DF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##16871C#FFFFFF#000000##FFFFFF
##16871C1.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)
#8A7902
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #16871c;
/* rgb */ color: rgb(22, 135, 28);
/* oklch */ color: oklch(54.4% 0.171 143.3);
Tailwind
colors: {
  custom: {
    50: '#6bab61',
    500: '#16871c',
    950: '#000000',
  },
}
SCSS
$custom: #16871c;
$custom-light: #6bab61;
$custom-dark: #000000;
JSON
{
  "hex": "#16871c",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 123.186,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.17071,
    "h": 143.3
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#16871C
secondary
#BB3EB4
accent
#39E5EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #16871C

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

Preview Lab → · Contrast checker → · Palette generator →

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