#16871F#16871F

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

Color values

HEX#16871F
RGBrgb(22, 135, 31)
HSLhsl(125, 72%, 31%)
HSVhsv(125, 84%, 53%)
CMYKcmyk(83.7%, 0%, 77%, 47.1%)
CIE-LABlab(49.00, -50.27, 44.47)
CIE-LCHlch(49.00, 67.11, 138.50°)
OKLaboklab(54.39% -0.136 0.1003)
OKLCHoklch(54.39% 0.169 143.6)
XYZxyz(9.2416, 17.5963, 4.2054)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16871F #87167E
analogous
#458716 #16871F #168757
triadic
#16871F #1F1687 #871F16
tetradic
#16871F #164587 #87167E #875716
square
#16871F #164587 #87167E #875716
split-complementary
#16871F #571687 #871645
monochromatic
#051E07 #0D5213 #16871F #1FBC2B #39DF46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##16871F#FFFFFF#000000##FFFFFF
##16871F1.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)
#8A7909
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #16871f;
/* rgb */ color: rgb(22, 135, 31);
/* oklch */ color: oklch(54.4% 0.169 143.6);
Tailwind
colors: {
  custom: {
    50: '#6bab62',
    500: '#16871f',
    950: '#000000',
  },
}
SCSS
$custom: #16871f;
$custom-light: #6bab62;
$custom-dark: #000000;
JSON
{
  "hex": "#16871f",
  "rgb": {
    "r": 22,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 124.779,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.16904,
    "h": 143.6
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#16871F
secondary
#BB3EB1
accent
#39E0EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #16871F

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

Preview Lab → · Contrast checker → · Palette generator →

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