#16771B#16771B

#16771B is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.7% C 0.153 H 143.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#16771B
RGBrgb(22, 119, 27)
HSLhsl(123, 69%, 28%)
HSVhsv(123, 82%, 47%)
CMYKcmyk(81.5%, 0%, 77.3%, 53.3%)
CIE-LABlab(43.42, -45.31, 40.38)
CIE-LCHlch(43.42, 60.69, 138.29°)
OKLaboklab(49.74% -0.1227 0.0912)
OKLCHoklch(49.74% 0.153 143.4)
XYZxyz(7.1251, 13.4425, 3.2558)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16771B #771672
analogous
#417716 #16771B #16774C
triadic
#16771B #1B1677 #771B16
tetradic
#16771B #164177 #771672 #774C16
square
#16771B #164177 #771672 #774C16
split-complementary
#16771B #4C1677 #771641
monochromatic
#051A06 #0C430F #16771B #20AB27 #2FD938

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##16771B#FFFFFF#000000##FFFFFF
##16771B1.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)
#7A6B09
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #16771b;
/* rgb */ color: rgb(22, 119, 27);
/* oklch */ color: oklch(49.7% 0.153 143.4);
Tailwind
colors: {
  custom: {
    50: '#679f5e',
    500: '#16771b',
    950: '#000000',
  },
}
SCSS
$custom: #16771b;
$custom-light: #679f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#16771b",
  "rgb": {
    "r": 22,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 123.093,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.15294,
    "h": 143.4
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#16771B
secondary
#AC3CA7
accent
#3CE3EC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #16771B

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

Preview Lab → · Contrast checker → · Palette generator →

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