#1B7E13#1B7E13

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

Color values

HEX#1B7E13
RGBrgb(27, 126, 19)
HSLhsl(116, 74%, 28%)
HSVhsv(116, 85%, 49%)
CMYKcmyk(78.6%, 0%, 84.9%, 50.6%)
CIE-LABlab(45.91, -47.45, 45.49)
CIE-LCHlch(45.91, 65.73, 136.21°)
OKLaboklab(51.82% -0.1292 0.1007)
OKLCHoklch(51.82% 0.164 142.1)
XYZxyz(8.0299, 15.2008, 3.1268)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E13 #76137E
analogous
#507E13 #1B7E13 #137E40
triadic
#1B7E13 #131B7E #7E131B
tetradic
#1B7E13 #13507E #76137E #7E4013
square
#1B7E13 #13507E #76137E #7E4013
split-complementary
#1B7E13 #40137E #7E1350
monochromatic
#061B04 #10490B #1B7E13 #26B31B #3ADF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7E13#FFFFFF#000000##FFFFFF
##1B7E131.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)
#766A21
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e13;
/* rgb */ color: rgb(27, 126, 19);
/* oklch */ color: oklch(51.8% 0.164 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba45c',
    500: '#1b7e13',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e13;
$custom-light: #6ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e13",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 115.514,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.16379,
    "h": 142.1
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#1B7E13
secondary
#AA39B4
accent
#37F0E3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1B7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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