#1B7519#1B7519

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

Color values

HEX#1B7519
RGBrgb(27, 117, 25)
HSLhsl(119, 65%, 28%)
HSVhsv(119, 79%, 46%)
CMYKcmyk(76.9%, 0%, 78.6%, 54.1%)
CIE-LABlab(42.80, -43.99, 40.54)
CIE-LCHlch(42.80, 59.82, 137.33°)
OKLaboklab(49.25% -0.1195 0.0913)
OKLCHoklch(49.25% 0.15 142.6)
XYZxyz(6.9883, 13.0250, 3.0653)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7519 #731975
analogous
#497519 #1B7519 #197545
triadic
#1B7519 #191B75 #75191B
tetradic
#1B7519 #194975 #731975 #754519
square
#1B7519 #194975 #731975 #754519
split-complementary
#1B7519 #451975 #751949
monochromatic
#061905 #0F430E #1B7519 #27A724 #38D435

Accessibility & contrast

On white

5.82
#1B7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1B7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7519
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7519#FFFFFF#000000##FFFFFF
##1B75191.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7519;
/* rgb */ color: rgb(27, 117, 25);
/* oklch */ color: oklch(49.2% 0.150 142.6);
Tailwind
colors: {
  custom: {
    50: '#689e5d',
    500: '#1b7519',
    950: '#000000',
  },
}
SCSS
$custom: #1b7519;
$custom-light: #689e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7519",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 118.696,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.15036,
    "h": 142.6
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#1B7519
secondary
#A840AA
accent
#40E8E4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7519

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

Preview Lab → · Contrast checker → · Palette generator →

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