#1B7E16#1B7E16

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

Color values

HEX#1B7E16
RGBrgb(27, 126, 22)
HSLhsl(117, 70%, 29%)
HSVhsv(117, 83%, 49%)
CMYKcmyk(78.6%, 0%, 82.5%, 50.6%)
CIE-LABlab(45.92, -47.27, 44.59)
CIE-LCHlch(45.92, 64.98, 136.67°)
OKLaboklab(51.84% -0.1285 0.0993)
OKLCHoklch(51.84% 0.162 142.3)
XYZxyz(8.0572, 15.2117, 3.2704)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E16 #79167E
analogous
#4F7E16 #1B7E16 #167E45
triadic
#1B7E16 #161B7E #7E161B
tetradic
#1B7E16 #164F7E #79167E #7E4516
square
#1B7E16 #164F7E #79167E #7E4516
split-complementary
#1B7E16 #45167E #7E164F
monochromatic
#061A05 #104A0D #1B7E16 #26B21F #3BDB33

Accessibility & contrast

On white

5.19
#1B7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7E16
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E16#FFFFFF#000000##FFFFFF
##1B7E161.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7e16;
/* rgb */ color: rgb(27, 126, 22);
/* oklch */ color: oklch(51.8% 0.162 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa45d',
    500: '#1b7e16',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e16;
$custom-light: #6aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e16",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 117.115,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.16241,
    "h": 142.3
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#1B7E16
secondary
#AD3DB3
accent
#3BEDE4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1B7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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