#1A7517#1A7517

#1A7517 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.152 H 142.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1A7517
RGBrgb(26, 117, 23)
HSLhsl(118, 67%, 27%)
HSVhsv(118, 80%, 46%)
CMYKcmyk(77.8%, 0%, 80.3%, 54.1%)
CIE-LABlab(42.77, -44.31, 41.23)
CIE-LCHlch(42.77, 60.52, 137.07°)
OKLaboklab(49.21% -0.1204 0.0924)
OKLCHoklch(49.21% 0.152 142.5)
XYZxyz(6.9415, 13.0033, 2.9545)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7517 #721775
analogous
#497517 #1A7517 #177543
triadic
#1A7517 #171A75 #75171A
tetradic
#1A7517 #174975 #721775 #754317
square
#1A7517 #174975 #721775 #754317
split-complementary
#1A7517 #431775 #751749
monochromatic
#061A05 #0F420D #1A7517 #25A821 #35D630

Accessibility & contrast

On white

5.83
#1A7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1A7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7517
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7517#FFFFFF#000000##FFFFFF
##1A75171.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1a7517;
/* rgb */ color: rgb(26, 117, 23);
/* oklch */ color: oklch(49.2% 0.152 142.5);
Tailwind
colors: {
  custom: {
    50: '#689e5c',
    500: '#1a7517',
    950: '#000000',
  },
}
SCSS
$custom: #1a7517;
$custom-light: #689e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7517",
  "rgb": {
    "r": 26,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 118.085,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49212,
    "c": 0.15181,
    "h": 142.5
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#1A7517
secondary
#A73DAA
accent
#3EEAE5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7517

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

Preview Lab → · Contrast checker → · Palette generator →

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