#1B7515#1B7515

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

Color values

HEX#1B7515
RGBrgb(27, 117, 21)
HSLhsl(116, 70%, 27%)
HSVhsv(116, 82%, 46%)
CMYKcmyk(76.9%, 0%, 82.1%, 54.1%)
CIE-LABlab(42.78, -44.28, 41.93)
CIE-LCHlch(42.78, 60.98, 136.56°)
OKLaboklab(49.22% -0.1205 0.0936)
OKLCHoklch(49.22% 0.153 142.2)
XYZxyz(6.9482, 13.0089, 2.8541)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7515 #6F1575
analogous
#4B7515 #1B7515 #15753F
triadic
#1B7515 #151B75 #75151B
tetradic
#1B7515 #154B75 #6F1575 #753F15
square
#1B7515 #154B75 #6F1575 #753F15
split-complementary
#1B7515 #3F1575 #75154B
monochromatic
#061A05 #0F410C #1B7515 #27A91E #36D92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7515#FFFFFF#000000##FFFFFF
##1B75151.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)
#6E6220
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b7515;
/* rgb */ color: rgb(27, 117, 21);
/* oklch */ color: oklch(49.2% 0.153 142.2);
Tailwind
colors: {
  custom: {
    50: '#689e5b',
    500: '#1b7515',
    950: '#000000',
  },
}
SCSS
$custom: #1b7515;
$custom-light: #689e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7515",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 116.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49221,
    "c": 0.15256,
    "h": 142.2
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#1B7515
secondary
#A43BAB
accent
#3BECE1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7515

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

Preview Lab → · Contrast checker → · Palette generator →

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