#1B7B16#1B7B16

#1B7B16 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.159 H 142.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#1B7B16
RGBrgb(27, 123, 22)
HSLhsl(117, 70%, 28%)
HSVhsv(117, 82%, 48%)
CMYKcmyk(78%, 0%, 82.1%, 51.8%)
CIE-LABlab(44.88, -46.26, 43.60)
CIE-LCHlch(44.88, 63.57, 136.69°)
OKLaboklab(50.97% -0.1258 0.0972)
OKLCHoklch(50.97% 0.159 142.3)
XYZxyz(7.6793, 14.4560, 3.1445)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B16 #76167B
analogous
#4D7B16 #1B7B16 #167B43
triadic
#1B7B16 #161B7B #7B161B
tetradic
#1B7B16 #164D7B #76167B #7B4316
square
#1B7B16 #164D7B #76167B #7B4316
split-complementary
#1B7B16 #43167B #7B164D
monochromatic
#061A05 #10470D #1B7B16 #26AF1F #3ADA31

Accessibility & contrast

On white

5.40
#1B7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1B7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7B16
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7B16#FFFFFF#000000##FFFFFF
##1B7B161.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7b16;
/* rgb */ color: rgb(27, 123, 22);
/* oklch */ color: oklch(51.0% 0.159 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa25c',
    500: '#1b7b16',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b16;
$custom-light: #6aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b16",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 117.03,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.15899,
    "h": 142.3
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#1B7B16
secondary
#AA3DB0
accent
#3BECE4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1B7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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