#1B7313#1B7313

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

Color values

HEX#1B7313
RGBrgb(27, 115, 19)
HSLhsl(115, 72%, 26%)
HSVhsv(115, 83%, 45%)
CMYKcmyk(76.5%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.06, -43.73, 41.91)
CIE-LCHlch(42.06, 60.56, 136.22°)
OKLaboklab(48.62% -0.1191 0.0932)
OKLCHoklch(48.62% 0.151 141.9)
XYZxyz(6.6999, 12.5407, 2.6835)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7313 #6B1373
analogous
#4B7313 #1B7313 #13733B
triadic
#1B7313 #131B73 #73131B
tetradic
#1B7313 #134B73 #6B1373 #733B13
square
#1B7313 #134B73 #6B1373 #733B13
split-complementary
#1B7313 #3B1373 #73134B
monochromatic
#061A04 #0F3E0A #1B7313 #27A81C #35DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b7313;
/* rgb */ color: rgb(27, 115, 19);
/* oklch */ color: oklch(48.6% 0.151 141.9);
Tailwind
colors: {
  custom: {
    50: '#689c5a',
    500: '#1b7313',
    950: '#000000',
  },
}
SCSS
$custom: #1b7313;
$custom-light: #689c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7313",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 115,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48624,
    "c": 0.15125,
    "h": 141.9
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#1B7313
secondary
#A038AA
accent
#39EEDF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7313

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

Preview Lab → · Contrast checker → · Palette generator →

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