#1B7915#1B7915

#1B7915 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.157 H 142.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1B7915
RGBrgb(27, 121, 21)
HSLhsl(116, 70%, 28%)
HSVhsv(116, 83%, 47%)
CMYKcmyk(77.7%, 0%, 82.6%, 52.5%)
CIE-LABlab(44.18, -45.65, 43.26)
CIE-LCHlch(44.18, 62.89, 136.54°)
OKLaboklab(50.38% -0.1242 0.0964)
OKLCHoklch(50.38% 0.157 142.2)
XYZxyz(7.4243, 13.9610, 3.0128)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7915 #731579
analogous
#4D7915 #1B7915 #157941
triadic
#1B7915 #151B79 #79151B
tetradic
#1B7915 #154D79 #731579 #794115
square
#1B7915 #154D79 #731579 #794115
split-complementary
#1B7915 #411579 #79154D
monochromatic
#061A05 #0F450C #1B7915 #27AD1E #38DB2E

Accessibility & contrast

On white

5.54
#1B7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1B7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7915
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7915#FFFFFF#000000##FFFFFF
##1B79151.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b7915;
/* rgb */ color: rgb(27, 121, 21);
/* oklch */ color: oklch(50.4% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#69a15c',
    500: '#1b7915',
    950: '#000000',
  },
}
SCSS
$custom: #1b7915;
$custom-light: #69a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7915",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 116.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.15719,
    "h": 142.2
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#1B7915
secondary
#A83BAF
accent
#3BEDE2
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1B7915

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

Preview Lab → · Contrast checker → · Palette generator →

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