#1A8716#1A8716

#1A8716 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.173 H 142.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1A8716
RGBrgb(26, 135, 22)
HSLhsl(118, 72%, 31%)
HSVhsv(118, 84%, 53%)
CMYKcmyk(80.7%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.01, -50.37, 47.48)
CIE-LCHlch(49.01, 69.22, 136.69°)
OKLaboklab(54.4% -0.1369 0.1053)
OKLCHoklch(54.4% 0.173 142.4)
XYZxyz(9.2342, 17.6044, 3.6702)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8716 #831687
analogous
#528716 #1A8716 #16874A
triadic
#1A8716 #161A87 #87161A
tetradic
#1A8716 #165287 #831687 #874A16
square
#1A8716 #165287 #831687 #874A16
split-complementary
#1A8716 #4A1687 #871652
monochromatic
#061E05 #10520D #1A8716 #24BC1F #3FDF39

Accessibility & contrast

On white

4.64
#1A8716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#1A8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8716
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8716#FFFFFF#000000##FFFFFF
##1A87161.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a8716;
/* rgb */ color: rgb(26, 135, 22);
/* oklch */ color: oklch(54.4% 0.173 142.4);
Tailwind
colors: {
  custom: {
    50: '#6cab5e',
    500: '#1a8716',
    950: '#000000',
  },
}
SCSS
$custom: #1a8716;
$custom-light: #6cab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8716",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 117.876,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.17272,
    "h": 142.4
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#1A8716
secondary
#B73EBB
accent
#39EFE8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A8716

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

Preview Lab → · Contrast checker → · Palette generator →

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