#1B7816#1B7816

#1B7816 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.156 H 142.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#1B7816
RGBrgb(27, 120, 22)
HSLhsl(117, 69%, 28%)
HSVhsv(117, 82%, 47%)
CMYKcmyk(77.5%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.83, -45.24, 42.60)
CIE-LCHlch(43.83, 62.14, 136.72°)
OKLaboklab(50.1% -0.123 0.0951)
OKLCHoklch(50.1% 0.156 142.3)
XYZxyz(7.3128, 13.7230, 3.0223)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7816 #731678
analogous
#4C7816 #1B7816 #167842
triadic
#1B7816 #161B78 #78161B
tetradic
#1B7816 #164C78 #731678 #784216
square
#1B7816 #164C78 #731678 #784216
split-complementary
#1B7816 #421678 #78164C
monochromatic
#061A05 #0F440D #1B7816 #27AC1F #38D92F

Accessibility & contrast

On white

5.61
#1B7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#1B7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7816
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7816#FFFFFF#000000##FFFFFF
##1B78161.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b7816;
/* rgb */ color: rgb(27, 120, 22);
/* oklch */ color: oklch(50.1% 0.156 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a05c',
    500: '#1b7816',
    950: '#000000',
  },
}
SCSS
$custom: #1b7816;
$custom-light: #69a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7816",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 116.939,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.501,
    "c": 0.15553,
    "h": 142.3
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B7816

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

Preview Lab → · Contrast checker → · Palette generator →

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