#1B8016#1B8016

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

Color values

HEX#1B8016
RGBrgb(27, 128, 22)
HSLhsl(117, 71%, 29%)
HSVhsv(117, 83%, 50%)
CMYKcmyk(78.9%, 0%, 82.8%, 49.8%)
CIE-LABlab(46.62, -47.93, 45.25)
CIE-LCHlch(46.62, 65.91, 136.65°)
OKLaboklab(52.41% -0.1303 0.1007)
OKLCHoklch(52.41% 0.165 142.3)
XYZxyz(8.3155, 15.7283, 3.3565)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8016 #7B1680
analogous
#508016 #1B8016 #168046
triadic
#1B8016 #161B80 #80161B
tetradic
#1B8016 #165080 #7B1680 #804616
square
#1B8016 #165080 #7B1680 #804616
split-complementary
#1B8016 #461680 #801650
monochromatic
#061A04 #104C0D #1B8016 #26B41F #3CDC34

Accessibility & contrast

On white

5.07
#1B8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1B8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8016
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8016#FFFFFF#000000##FFFFFF
##1B80161.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b8016;
/* rgb */ color: rgb(27, 128, 22);
/* oklch */ color: oklch(52.4% 0.165 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba65d',
    500: '#1b8016',
    950: '#000000',
  },
}
SCSS
$custom: #1b8016;
$custom-light: #6ba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8016",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 117.17,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.16467,
    "h": 142.3
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#1B8016
secondary
#AF3DB5
accent
#3AEDE5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1B8016

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

Preview Lab → · Contrast checker → · Palette generator →

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