#1B8716#1B8716

#1B8716 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.172 H 142.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1B8716
RGBrgb(27, 135, 22)
HSLhsl(117, 72%, 31%)
HSVhsv(117, 84%, 53%)
CMYKcmyk(80%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.03, -50.23, 47.51)
CIE-LCHlch(49.03, 69.13, 136.59°)
OKLaboklab(54.42% -0.1365 0.1054)
OKLCHoklch(54.42% 0.172 142.3)
XYZxyz(9.2602, 17.6178, 3.6714)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8716 #821687
analogous
#538716 #1B8716 #168749
triadic
#1B8716 #161B87 #87161B
tetradic
#1B8716 #165387 #821687 #874916
square
#1B8716 #165387 #821687 #874916
split-complementary
#1B8716 #491687 #871653
monochromatic
#061E05 #10520D #1B8716 #26BC1F #40DF39

Accessibility & contrast

On white

4.64
#1B8716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#1B8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8716
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8716#FFFFFF#000000##FFFFFF
##1B87161.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b8716;
/* rgb */ color: rgb(27, 135, 22);
/* oklch */ color: oklch(54.4% 0.172 142.3);
Tailwind
colors: {
  custom: {
    50: '#6dab5e',
    500: '#1b8716',
    950: '#000000',
  },
}
SCSS
$custom: #1b8716;
$custom-light: #6dab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8716",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 117.345,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.17247,
    "h": 142.3
  },
  "luminance": 0.17619
}

Semantic roles & 50–950 ramp

primary
#1B8716
secondary
#B63EBB
accent
#39EFE7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B8716

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

Preview Lab → · Contrast checker → · Palette generator →

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