#16791B#16791B

#16791B is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.155 H 143.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#16791B
RGBrgb(22, 121, 27)
HSLhsl(123, 69%, 28%)
HSVhsv(123, 82%, 47%)
CMYKcmyk(81.8%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.12, -45.98, 41.08)
CIE-LCHlch(44.12, 61.66, 138.22°)
OKLaboklab(50.33% -0.1246 0.0927)
OKLCHoklch(50.33% 0.155 143.3)
XYZxyz(7.3656, 13.9236, 3.3360)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16791B #791674
analogous
#427916 #16791B #16794C
triadic
#16791B #1B1679 #791B16
tetradic
#16791B #164279 #791674 #794C16
square
#16791B #164279 #791674 #794C16
split-complementary
#16791B #4C1679 #791642
monochromatic
#051A06 #0D450F #16791B #1FAD27 #30D939

Accessibility & contrast

On white

5.55
#16791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#16791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #16791B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16791B#FFFFFF#000000##FFFFFF
##16791B1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #16791b;
/* rgb */ color: rgb(22, 121, 27);
/* oklch */ color: oklch(50.3% 0.155 143.3);
Tailwind
colors: {
  custom: {
    50: '#67a15e',
    500: '#16791b',
    950: '#000000',
  },
}
SCSS
$custom: #16791b;
$custom-light: #67a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#16791b",
  "rgb": {
    "r": 22,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 123.03,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50325,
    "c": 0.15528,
    "h": 143.3
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#16791B
secondary
#AE3DA9
accent
#3CE3EC
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #16791B

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

Preview Lab → · Contrast checker → · Palette generator →

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