#1B7916#1B7916

#1B7916 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.157 H 142.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1B7916
RGBrgb(27, 121, 22)
HSLhsl(117, 69%, 28%)
HSVhsv(117, 82%, 47%)
CMYKcmyk(77.7%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.18, -45.58, 42.94)
CIE-LCHlch(44.18, 62.62, 136.71°)
OKLaboklab(50.39% -0.124 0.0958)
OKLCHoklch(50.39% 0.157 142.3)
XYZxyz(7.4337, 13.9648, 3.0626)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7916 #741679
analogous
#4C7916 #1B7916 #167942
triadic
#1B7916 #161B79 #79161B
tetradic
#1B7916 #164C79 #741679 #794216
square
#1B7916 #164C79 #741679 #794216
split-complementary
#1B7916 #421679 #79164C
monochromatic
#061A05 #0F450D #1B7916 #27AD1F #39D930

Accessibility & contrast

On white

5.54
#1B7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1B7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7916
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7916#FFFFFF#000000##FFFFFF
##1B79161.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7916;
/* rgb */ color: rgb(27, 121, 22);
/* oklch */ color: oklch(50.4% 0.157 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a15c',
    500: '#1b7916',
    950: '#000000',
  },
}
SCSS
$custom: #1b7916;
$custom-light: #69a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7916",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 116.97,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.15669,
    "h": 142.3
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#1B7916
secondary
#A93DAE
accent
#3CECE3
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1B7916

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

Preview Lab → · Contrast checker → · Palette generator →

#1B7916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva