#1B7312#1B7312

#1B7312 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#1B7312
RGBrgb(27, 115, 18)
HSLhsl(114, 73%, 26%)
HSVhsv(114, 84%, 45%)
CMYKcmyk(76.5%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.06, -43.79, 42.22)
CIE-LCHlch(42.06, 60.83, 136.05°)
OKLaboklab(48.62% -0.1193 0.0937)
OKLCHoklch(48.62% 0.152 141.8)
XYZxyz(6.6915, 12.5374, 2.6395)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7312 #6A1273
analogous
#4B7312 #1B7312 #127339
triadic
#1B7312 #121B73 #73121B
tetradic
#1B7312 #124B73 #6A1273 #733912
square
#1B7312 #124B73 #6A1273 #733912
split-complementary
#1B7312 #391273 #73124B
monochromatic
#061A04 #0F3E0A #1B7312 #27A81A #34DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7312#FFFFFF#000000##FFFFFF
##1B73121.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: #1b7312;
/* rgb */ color: rgb(27, 115, 18);
/* oklch */ color: oklch(48.6% 0.152 141.8);
Tailwind
colors: {
  custom: {
    50: '#689c59',
    500: '#1b7312',
    950: '#000000',
  },
}
SCSS
$custom: #1b7312;
$custom-light: #689c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7312",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 114.433,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48618,
    "c": 0.15173,
    "h": 141.8
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#1B7312
secondary
#9F37AA
accent
#38F0DF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7312

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

Preview Lab → · Contrast checker → · Palette generator →

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