#1B7415#1B7415

#1B7415 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.151 H 142.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1B7415
RGBrgb(27, 116, 21)
HSLhsl(116, 69%, 27%)
HSVhsv(116, 82%, 45%)
CMYKcmyk(76.7%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.43, -43.94, 41.59)
CIE-LCHlch(42.43, 60.50, 136.57°)
OKLaboklab(48.93% -0.1196 0.0929)
OKLCHoklch(48.93% 0.151 142.2)
XYZxyz(6.8323, 12.7772, 2.8155)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7415 #6E1574
analogous
#4A7415 #1B7415 #15743F
triadic
#1B7415 #151B74 #74151B
tetradic
#1B7415 #154A74 #6E1574 #743F15
square
#1B7415 #154A74 #6E1574 #743F15
split-complementary
#1B7415 #3F1574 #74154A
monochromatic
#061A05 #0F400C #1B7415 #27A81E #36D92B

Accessibility & contrast

On white

5.91
#1B7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1B7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7415
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7415#FFFFFF#000000##FFFFFF
##1B74151.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7415;
/* rgb */ color: rgb(27, 116, 21);
/* oklch */ color: oklch(48.9% 0.151 142.2);
Tailwind
colors: {
  custom: {
    50: '#689d5b',
    500: '#1b7415',
    950: '#000000',
  },
}
SCSS
$custom: #1b7415;
$custom-light: #689d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7415",
  "rgb": {
    "r": 27,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 116.211,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.1514,
    "h": 142.2
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#1B7415
secondary
#A33BAA
accent
#3CECE1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7415

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

Preview Lab → · Contrast checker → · Palette generator →

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