#1B7513#1B7513

#1B7513 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.154 H 142.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1B7513
RGBrgb(27, 117, 19)
HSLhsl(115, 72%, 27%)
HSVhsv(115, 84%, 46%)
CMYKcmyk(76.9%, 0%, 83.8%, 54.1%)
CIE-LABlab(42.77, -44.42, 42.57)
CIE-LCHlch(42.77, 61.52, 136.22°)
OKLaboklab(49.21% -0.121 0.0946)
OKLCHoklch(49.21% 0.154 142)
XYZxyz(6.9304, 13.0018, 2.7603)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7513 #6D1375
analogous
#4C7513 #1B7513 #13753C
triadic
#1B7513 #131B75 #75131B
tetradic
#1B7513 #134C75 #6D1375 #753C13
square
#1B7513 #134C75 #6D1375 #753C13
split-complementary
#1B7513 #3C1375 #75134C
monochromatic
#061A04 #0F400A #1B7513 #27AA1C #35DC27

Accessibility & contrast

On white

5.83
#1B7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1B7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7513
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7513#FFFFFF#000000##FFFFFF
##1B75131.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b7513;
/* rgb */ color: rgb(27, 117, 19);
/* oklch */ color: oklch(49.2% 0.154 142.0);
Tailwind
colors: {
  custom: {
    50: '#689e5a',
    500: '#1b7513',
    950: '#000000',
  },
}
SCSS
$custom: #1b7513;
$custom-light: #689e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7513",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 115.102,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.15357,
    "h": 142
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#1B7513
secondary
#A238AB
accent
#39EFE0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7513

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

Preview Lab → · Contrast checker → · Palette generator →

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