#1B7A16#1B7A16

#1B7A16 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.158 H 142.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#1B7A16
RGBrgb(27, 122, 22)
HSLhsl(117, 69%, 28%)
HSVhsv(117, 82%, 48%)
CMYKcmyk(77.9%, 0%, 82%, 52.2%)
CIE-LABlab(44.53, -45.92, 43.27)
CIE-LCHlch(44.53, 63.10, 136.70°)
OKLaboklab(50.68% -0.1249 0.0965)
OKLCHoklch(50.68% 0.158 142.3)
XYZxyz(7.5559, 14.2091, 3.1033)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A16 #75167A
analogous
#4D7A16 #1B7A16 #167A43
triadic
#1B7A16 #161B7A #7A161B
tetradic
#1B7A16 #164D7A #75167A #7A4316
square
#1B7A16 #164D7A #75167A #7A4316
split-complementary
#1B7A16 #43167A #7A164D
monochromatic
#061A05 #10460D #1B7A16 #26AE1F #39DA31

Accessibility & contrast

On white

5.47
#1B7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1B7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7A16
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7A16#FFFFFF#000000##FFFFFF
##1B7A161.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#726722
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7a16;
/* rgb */ color: rgb(27, 122, 22);
/* oklch */ color: oklch(50.7% 0.158 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a15c',
    500: '#1b7a16',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a16;
$custom-light: #69a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a16",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 117,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.15784,
    "h": 142.3
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#1B7A16
secondary
#A93DAF
accent
#3CECE3
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1B7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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