#1B7E14#1B7E14

#1B7E14 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.163 H 142.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1B7E14
RGBrgb(27, 126, 20)
HSLhsl(116, 73%, 29%)
HSVhsv(116, 84%, 49%)
CMYKcmyk(78.6%, 0%, 84.1%, 50.6%)
CIE-LABlab(45.91, -47.39, 45.20)
CIE-LCHlch(45.91, 65.49, 136.35°)
OKLaboklab(51.83% -0.129 0.1003)
OKLCHoklch(51.83% 0.163 142.1)
XYZxyz(8.0386, 15.2043, 3.1728)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E14 #77147E
analogous
#507E14 #1B7E14 #147E42
triadic
#1B7E14 #141B7E #7E141B
tetradic
#1B7E14 #14507E #77147E #7E4214
square
#1B7E14 #14507E #77147E #7E4214
split-complementary
#1B7E14 #42147E #7E1450
monochromatic
#061A04 #10490C #1B7E14 #26B31C #3ADE2E

Accessibility & contrast

On white

5.20
#1B7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1B7E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E14
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E14#FFFFFF#000000##FFFFFF
##1B7E141.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e14;
/* rgb */ color: rgb(27, 126, 20);
/* oklch */ color: oklch(51.8% 0.163 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba45c',
    500: '#1b7e14',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e14;
$custom-light: #6ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e14",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 116.038,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.16335,
    "h": 142.1
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#1B7E14
secondary
#AB3AB3
accent
#38EFE3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1B7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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