#1B7016#1B7016

#1B7016 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.146 H 142.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#1B7016
RGBrgb(27, 112, 22)
HSLhsl(117, 67%, 26%)
HSVhsv(117, 80%, 44%)
CMYKcmyk(75.9%, 0%, 80.4%, 56.1%)
CIE-LABlab(41.02, -42.47, 39.89)
CIE-LCHlch(41.02, 58.26, 136.80°)
OKLaboklab(47.77% -0.1155 0.0895)
OKLCHoklch(47.77% 0.146 142.3)
XYZxyz(6.3906, 11.8786, 2.7149)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7016 #6B1670
analogous
#487016 #1B7016 #16703E
triadic
#1B7016 #161B70 #70161B
tetradic
#1B7016 #164870 #6B1670 #703E16
square
#1B7016 #164870 #6B1670 #703E16
split-complementary
#1B7016 #3E1670 #701648
monochromatic
#061A05 #0F3D0C #1B7016 #27A320 #34D52B

Accessibility & contrast

On white

6.22
#1B7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#1B7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7016
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7016#FFFFFF#000000##FFFFFF
##1B70161.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b7016;
/* rgb */ color: rgb(27, 112, 22);
/* oklch */ color: oklch(47.8% 0.146 142.3);
Tailwind
colors: {
  custom: {
    50: '#679a5b',
    500: '#1b7016',
    950: '#000000',
  },
}
SCSS
$custom: #1b7016;
$custom-light: #679a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7016",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 116.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47765,
    "c": 0.14613,
    "h": 142.3
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#1B7016
secondary
#A03CA6
accent
#3EEAE0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7016

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

Preview Lab → · Contrast checker → · Palette generator →

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