#16781B#16781B

#16781B is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.154 H 143.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#16781B
RGBrgb(22, 120, 27)
HSLhsl(123, 69%, 28%)
HSVhsv(123, 82%, 47%)
CMYKcmyk(81.7%, 0%, 77.5%, 52.9%)
CIE-LABlab(43.77, -45.65, 40.73)
CIE-LCHlch(43.77, 61.17, 138.26°)
OKLaboklab(50.03% -0.1237 0.092)
OKLCHoklch(50.03% 0.154 143.4)
XYZxyz(7.2447, 13.6818, 3.2957)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16781B #781673
analogous
#427816 #16781B #16784C
triadic
#16781B #1B1678 #781B16
tetradic
#16781B #164278 #781673 #784C16
square
#16781B #164278 #781673 #784C16
split-complementary
#16781B #4C1678 #781642
monochromatic
#051A06 #0D440F #16781B #1FAC27 #2FD938

Accessibility & contrast

On white

5.62
#16781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#16781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #16781B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16781B#FFFFFF#000000##FFFFFF
##16781B1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #16781b;
/* rgb */ color: rgb(22, 120, 27);
/* oklch */ color: oklch(50.0% 0.154 143.4);
Tailwind
colors: {
  custom: {
    50: '#67a05e',
    500: '#16781b',
    950: '#000000',
  },
}
SCSS
$custom: #16781b;
$custom-light: #67a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#16781b",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 123.061,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.15411,
    "h": 143.4
  },
  "luminance": 0.13683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16781B

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

Preview Lab → · Contrast checker → · Palette generator →

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