#1B7115#1B7115

#1B7115 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.148 H 142.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#1B7115
RGBrgb(27, 113, 21)
HSLhsl(116, 69%, 26%)
HSVhsv(116, 81%, 44%)
CMYKcmyk(76.1%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.37, -42.90, 40.58)
CIE-LCHlch(41.37, 59.05, 136.59°)
OKLaboklab(48.05% -0.1167 0.0908)
OKLCHoklch(48.05% 0.148 142.1)
XYZxyz(6.4921, 12.0967, 2.7021)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7115 #6B1571
analogous
#497115 #1B7115 #15713D
triadic
#1B7115 #151B71 #71151B
tetradic
#1B7115 #154971 #6B1571 #713D15
square
#1B7115 #154971 #6B1571 #713D15
split-complementary
#1B7115 #3D1571 #711549
monochromatic
#061A05 #0F3D0B #1B7115 #27A51F #35D729

Accessibility & contrast

On white

6.14
#1B7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#1B7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7115
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7115#FFFFFF#000000##FFFFFF
##1B71151.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1b7115;
/* rgb */ color: rgb(27, 113, 21);
/* oklch */ color: oklch(48.1% 0.148 142.1);
Tailwind
colors: {
  custom: {
    50: '#679b5a',
    500: '#1b7115',
    950: '#000000',
  },
}
SCSS
$custom: #1b7115;
$custom-light: #679b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7115",
  "rgb": {
    "r": 27,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 116.087,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.14787,
    "h": 142.1
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#1B7115
secondary
#A03BA7
accent
#3CEBE0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7115

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

Preview Lab → · Contrast checker → · Palette generator →

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