#1B7315#1B7315

#1B7315 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.150 H 142.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1B7315
RGBrgb(27, 115, 21)
HSLhsl(116, 69%, 27%)
HSVhsv(116, 82%, 45%)
CMYKcmyk(76.5%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.07, -43.59, 41.25)
CIE-LCHlch(42.07, 60.02, 136.58°)
OKLaboklab(48.64% -0.1186 0.0922)
OKLCHoklch(48.64% 0.15 142.2)
XYZxyz(6.7177, 12.5479, 2.7773)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7315 #6D1573
analogous
#4A7315 #1B7315 #15733E
triadic
#1B7315 #151B73 #73151B
tetradic
#1B7315 #154A73 #6D1573 #733E15
square
#1B7315 #154A73 #6D1573 #733E15
split-complementary
#1B7315 #3E1573 #73154A
monochromatic
#061A05 #0F3F0C #1B7315 #27A71E #35D82A

Accessibility & contrast

On white

5.98
#1B7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1B7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7315
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7315#FFFFFF#000000##FFFFFF
##1B73151.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7315;
/* rgb */ color: rgb(27, 115, 21);
/* oklch */ color: oklch(48.6% 0.150 142.2);
Tailwind
colors: {
  custom: {
    50: '#689c5b',
    500: '#1b7315',
    950: '#000000',
  },
}
SCSS
$custom: #1b7315;
$custom-light: #689c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7315",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 116.17,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48637,
    "c": 0.15024,
    "h": 142.2
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#1B7315
secondary
#A23BA9
accent
#3CECE1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7315

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

Preview Lab → · Contrast checker → · Palette generator →

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