#1A7917#1A7917

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

Color values

HEX#1A7917
RGBrgb(26, 121, 23)
HSLhsl(118, 68%, 28%)
HSVhsv(118, 81%, 47%)
CMYKcmyk(78.5%, 0%, 81%, 52.5%)
CIE-LABlab(44.17, -45.68, 42.58)
CIE-LCHlch(44.17, 62.45, 137.01°)
OKLaboklab(50.38% -0.1241 0.0952)
OKLCHoklch(50.38% 0.156 142.5)
XYZxyz(7.4176, 13.9554, 3.1132)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7917 #761779
analogous
#4B7917 #1A7917 #177945
triadic
#1A7917 #171A79 #79171A
tetradic
#1A7917 #174B79 #761779 #794517
square
#1A7917 #174B79 #761779 #794517
split-complementary
#1A7917 #451779 #79174B
monochromatic
#061A05 #0F460D #1A7917 #25AC21 #37D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7917#FFFFFF#000000##FFFFFF
##1A79171.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: #1a7917;
/* rgb */ color: rgb(26, 121, 23);
/* oklch */ color: oklch(50.4% 0.156 142.5);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#1a7917',
    950: '#000000',
  },
}
SCSS
$custom: #1a7917;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7917",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 118.163,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.15646,
    "h": 142.5
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#1A7917
secondary
#AB3EAE
accent
#3DEBE6
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7917

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

Preview Lab → · Contrast checker → · Palette generator →

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