#1A7916#1A7916

#1A7916 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.157 H 142.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1A7916
RGBrgb(26, 121, 22)
HSLhsl(118, 69%, 28%)
HSVhsv(118, 82%, 47%)
CMYKcmyk(78.5%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.16, -45.75, 42.91)
CIE-LCHlch(44.16, 62.73, 136.83°)
OKLaboklab(50.37% -0.1244 0.0958)
OKLCHoklch(50.37% 0.157 142.4)
XYZxyz(7.4077, 13.9514, 3.0614)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7916 #751679
analogous
#4B7916 #1A7916 #167943
triadic
#1A7916 #161A79 #79161A
tetradic
#1A7916 #164B79 #751679 #794316
square
#1A7916 #164B79 #751679 #794316
split-complementary
#1A7916 #431679 #79164B
monochromatic
#061A05 #0F450D #1A7916 #25AD1F #37D930

Accessibility & contrast

On white

5.54
#1A7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1A7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7916
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7916#FFFFFF#000000##FFFFFF
##1A79161.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1a7916;
/* rgb */ color: rgb(26, 121, 22);
/* oklch */ color: oklch(50.4% 0.157 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a15c',
    500: '#1a7916',
    950: '#000000',
  },
}
SCSS
$custom: #1a7916;
$custom-light: #69a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7916",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 117.576,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.15698,
    "h": 142.4
  },
  "luminance": 0.13952
}

Semantic roles & 50–950 ramp

primary
#1A7916
secondary
#AA3DAE
accent
#3CECE5
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7916

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

Preview Lab → · Contrast checker → · Palette generator →

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