#1B7112#1B7112

#1B7112 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.0% C 0.149 H 141.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#1B7112
RGBrgb(27, 113, 18)
HSLhsl(114, 73%, 26%)
HSVhsv(114, 84%, 44%)
CMYKcmyk(76.1%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.35, -43.10, 41.56)
CIE-LCHlch(41.35, 59.87, 136.04°)
OKLaboklab(48.03% -0.1174 0.0924)
OKLCHoklch(48.03% 0.149 141.8)
XYZxyz(6.4659, 12.0862, 2.5643)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7112 #681271
analogous
#4A7112 #1B7112 #127138
triadic
#1B7112 #121B71 #71121B
tetradic
#1B7112 #124A71 #681271 #713812
square
#1B7112 #124A71 #681271 #713812
split-complementary
#1B7112 #381271 #71124A
monochromatic
#061A04 #0E3C0A #1B7112 #28A61A #34DB23

Accessibility & contrast

On white

6.15
#1B7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#1B7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7112
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7112#FFFFFF#000000##FFFFFF
##1B71121.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1b7112;
/* rgb */ color: rgb(27, 113, 18);
/* oklch */ color: oklch(48.0% 0.149 141.8);
Tailwind
colors: {
  custom: {
    50: '#679b59',
    500: '#1b7112',
    950: '#000000',
  },
}
SCSS
$custom: #1b7112;
$custom-light: #679b59;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7112",
  "rgb": {
    "r": 27,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 114.316,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.14941,
    "h": 141.8
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#1B7112
secondary
#9D37A8
accent
#39EFDE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7112

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

Preview Lab → · Contrast checker → · Palette generator →

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