#1B7716#1B7716

#1B7716 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.154 H 142.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1B7716
RGBrgb(27, 119, 22)
HSLhsl(117, 69%, 28%)
HSVhsv(117, 82%, 47%)
CMYKcmyk(77.3%, 0%, 81.5%, 53.3%)
CIE-LABlab(43.48, -44.90, 42.27)
CIE-LCHlch(43.48, 61.67, 136.73°)
OKLaboklab(49.81% -0.1221 0.0944)
OKLCHoklch(49.81% 0.154 142.3)
XYZxyz(7.1932, 13.4838, 2.9824)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7716 #721677
analogous
#4C7716 #1B7716 #167741
triadic
#1B7716 #161B77 #77161B
tetradic
#1B7716 #164C77 #721677 #774116
square
#1B7716 #164C77 #721677 #774116
split-complementary
#1B7716 #411677 #77164C
monochromatic
#061A05 #0F430C #1B7716 #27AB20 #38D92F

Accessibility & contrast

On white

5.68
#1B7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1B7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7716
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7716#FFFFFF#000000##FFFFFF
##1B77161.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1b7716;
/* rgb */ color: rgb(27, 119, 22);
/* oklch */ color: oklch(49.8% 0.154 142.3);
Tailwind
colors: {
  custom: {
    50: '#699f5c',
    500: '#1b7716',
    950: '#000000',
  },
}
SCSS
$custom: #1b7716;
$custom-light: #699f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7716",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 116.907,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.15438,
    "h": 142.3
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#1B7716
secondary
#A73CAC
accent
#3CECE3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1B7716

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

Preview Lab → · Contrast checker → · Palette generator →

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