#1B7314#1B7314

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

Color values

HEX#1B7314
RGBrgb(27, 115, 20)
HSLhsl(116, 70%, 26%)
HSVhsv(116, 83%, 45%)
CMYKcmyk(76.5%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.07, -43.66, 41.59)
CIE-LCHlch(42.07, 60.30, 136.39°)
OKLaboklab(48.63% -0.1189 0.0927)
OKLCHoklch(48.63% 0.151 142)
XYZxyz(6.7086, 12.5442, 2.7294)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7314 #6C1473
analogous
#4B7314 #1B7314 #14733D
triadic
#1B7314 #141B73 #73141B
tetradic
#1B7314 #144B73 #6C1473 #733D14
square
#1B7314 #144B73 #6C1473 #733D14
split-complementary
#1B7314 #3D1473 #73144B
monochromatic
#061A05 #0F3F0B #1B7314 #27A71D #35DA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7314#FFFFFF#000000##FFFFFF
##1B73141.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)
#6C611F
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7314;
/* rgb */ color: rgb(27, 115, 20);
/* oklch */ color: oklch(48.6% 0.151 142.0);
Tailwind
colors: {
  custom: {
    50: '#689c5a',
    500: '#1b7314',
    950: '#000000',
  },
}
SCSS
$custom: #1b7314;
$custom-light: #689c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7314",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 115.579,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.15075,
    "h": 142
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#1B7314
secondary
#A13AA9
accent
#3BEDE0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7314

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

Preview Lab → · Contrast checker → · Palette generator →

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