#16771F#16771F

#16771F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.150 H 143.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#16771F
RGBrgb(22, 119, 31)
HSLhsl(126, 69%, 28%)
HSVhsv(126, 82%, 47%)
CMYKcmyk(81.5%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.45, -44.95, 38.81)
CIE-LCHlch(43.45, 59.39, 139.19°)
OKLaboklab(49.78% -0.1216 0.0885)
OKLCHoklch(49.78% 0.15 143.9)
XYZxyz(7.1745, 13.4623, 3.5164)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16771F #77166E
analogous
#3D7716 #16771F #16774F
triadic
#16771F #1F1677 #771F16
tetradic
#16771F #163D77 #77166E #774F16
square
#16771F #163D77 #77166E #774F16
split-complementary
#16771F #4F1677 #77163D
monochromatic
#051A07 #0C4312 #16771F #20AB2C #2FD93F

Accessibility & contrast

On white

5.69
#16771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#16771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #16771F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16771F#FFFFFF#000000##FFFFFF
##16771F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #16771f;
/* rgb */ color: rgb(22, 119, 31);
/* oklch */ color: oklch(49.8% 0.150 143.9);
Tailwind
colors: {
  custom: {
    50: '#679f60',
    500: '#16771f',
    950: '#000000',
  },
}
SCSS
$custom: #16771f;
$custom-light: #679f60;
$custom-dark: #000000;
JSON
{
  "hex": "#16771f",
  "rgb": {
    "r": 22,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 125.567,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.15038,
    "h": 143.9
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#16771F
secondary
#AC3CA2
accent
#3CDBEC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #16771F

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

Preview Lab → · Contrast checker → · Palette generator →

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