#1B7311#1B7311

#1B7311 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.152 H 141.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1B7311
RGBrgb(27, 115, 17)
HSLhsl(114, 74%, 26%)
HSVhsv(114, 85%, 45%)
CMYKcmyk(76.5%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.05, -43.85, 42.52)
CIE-LCHlch(42.05, 61.08, 135.88°)
OKLaboklab(48.61% -0.1195 0.0942)
OKLCHoklch(48.61% 0.152 141.8)
XYZxyz(6.6835, 12.5342, 2.5973)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7311 #691173
analogous
#4C7311 #1B7311 #117338
triadic
#1B7311 #111B73 #73111B
tetradic
#1B7311 #114C73 #691173 #733811
square
#1B7311 #114C73 #691173 #733811
split-complementary
#1B7311 #381173 #73114C
monochromatic
#061B04 #0E3E09 #1B7311 #28A819 #34DE21

Accessibility & contrast

On white

5.99
#1B7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7311
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7311#FFFFFF#000000##FFFFFF
##1B73111.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7311;
/* rgb */ color: rgb(27, 115, 17);
/* oklch */ color: oklch(48.6% 0.152 141.8);
Tailwind
colors: {
  custom: {
    50: '#689c59',
    500: '#1b7311',
    950: '#000000',
  },
}
SCSS
$custom: #1b7311;
$custom-light: #689c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7311",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 113.878,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48613,
    "c": 0.15219,
    "h": 141.8
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#1B7311
secondary
#9E36AA
accent
#37F1DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7311

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

Preview Lab → · Contrast checker → · Palette generator →

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