#1B7F16#1B7F16

#1B7F16 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.164 H 142.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1B7F16
RGBrgb(27, 127, 22)
HSLhsl(117, 70%, 29%)
HSVhsv(117, 83%, 50%)
CMYKcmyk(78.7%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.27, -47.60, 44.92)
CIE-LCHlch(46.27, 65.45, 136.66°)
OKLaboklab(52.13% -0.1294 0.1)
OKLCHoklch(52.13% 0.164 142.3)
XYZxyz(8.1857, 15.4687, 3.3133)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F16 #7A167F
analogous
#507F16 #1B7F16 #167F46
triadic
#1B7F16 #161B7F #7F161B
tetradic
#1B7F16 #16507F #7A167F #7F4616
square
#1B7F16 #16507F #7A167F #7F4616
split-complementary
#1B7F16 #46167F #7F1650
monochromatic
#061A05 #104B0D #1B7F16 #26B31F #3CDC34

Accessibility & contrast

On white

5.13
#1B7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1B7F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7F16
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7F16#FFFFFF#000000##FFFFFF
##1B7F161.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7f16;
/* rgb */ color: rgb(27, 127, 22);
/* oklch */ color: oklch(52.1% 0.164 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba55d',
    500: '#1b7f16',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f16;
$custom-light: #6ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f16",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 117.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.16354,
    "h": 142.3
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#1B7F16
secondary
#AE3DB4
accent
#3BEDE5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1B7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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