#1B7316#1B7316

#1B7316 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.6% C 0.150 H 142.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1B7316
RGBrgb(27, 115, 22)
HSLhsl(117, 68%, 27%)
HSVhsv(117, 81%, 45%)
CMYKcmyk(76.5%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.08, -43.52, 40.91)
CIE-LCHlch(42.08, 59.73, 136.77°)
OKLaboklab(48.64% -0.1184 0.0916)
OKLCHoklch(48.64% 0.15 142.3)
XYZxyz(6.7271, 12.5516, 2.8271)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7316 #6E1673
analogous
#4A7316 #1B7316 #167340
triadic
#1B7316 #161B73 #73161B
tetradic
#1B7316 #164A73 #6E1673 #734016
square
#1B7316 #164A73 #6E1673 #734016
split-complementary
#1B7316 #401673 #73164A
monochromatic
#061A05 #0F400C #1B7316 #27A620 #36D72D

Accessibility & contrast

On white

5.98
#1B7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1B7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7316
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7316#FFFFFF#000000##FFFFFF
##1B73161.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7316;
/* rgb */ color: rgb(27, 115, 22);
/* oklch */ color: oklch(48.6% 0.150 142.3);
Tailwind
colors: {
  custom: {
    50: '#689c5b',
    500: '#1b7316',
    950: '#000000',
  },
}
SCSS
$custom: #1b7316;
$custom-light: #689c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7316",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 116.774,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.14969,
    "h": 142.3
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#1B7316
secondary
#A33CA9
accent
#3DEBE1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7316

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

Preview Lab → · Contrast checker → · Palette generator →

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