#1B7D16#1B7D16

#1B7D16 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.5% C 0.161 H 142.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1B7D16
RGBrgb(27, 125, 22)
HSLhsl(117, 70%, 29%)
HSVhsv(117, 82%, 49%)
CMYKcmyk(78.4%, 0%, 82.4%, 51%)
CIE-LABlab(45.58, -46.93, 44.27)
CIE-LCHlch(45.58, 64.51, 136.67°)
OKLaboklab(51.55% -0.1276 0.0986)
OKLCHoklch(51.55% 0.161 142.3)
XYZxyz(7.9300, 14.9572, 3.2280)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D16 #78167D
analogous
#4F7D16 #1B7D16 #167D45
triadic
#1B7D16 #161B7D #7D161B
tetradic
#1B7D16 #164F7D #78167D #7D4516
square
#1B7D16 #164F7D #78167D #7D4516
split-complementary
#1B7D16 #45167D #7D164F
monochromatic
#061A05 #10490D #1B7D16 #26B11F #3BDB32

Accessibility & contrast

On white

5.26
#1B7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1B7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D16
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D16#FFFFFF#000000##FFFFFF
##1B7D161.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d16;
/* rgb */ color: rgb(27, 125, 22);
/* oklch */ color: oklch(51.5% 0.161 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa45d',
    500: '#1b7d16',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d16;
$custom-light: #6aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d16",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 117.087,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.16127,
    "h": 142.3
  },
  "luminance": 0.14958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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