#1A7717#1A7717

#1A7717 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.154 H 142.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1A7717
RGBrgb(26, 119, 23)
HSLhsl(118, 68%, 28%)
HSVhsv(118, 81%, 47%)
CMYKcmyk(78.2%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.47, -45.00, 41.91)
CIE-LCHlch(43.47, 61.49, 137.04°)
OKLaboklab(49.79% -0.1223 0.0938)
OKLCHoklch(49.79% 0.154 142.5)
XYZxyz(7.1770, 13.4743, 3.0330)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7717 #741777
analogous
#4A7717 #1A7717 #177744
triadic
#1A7717 #171A77 #77171A
tetradic
#1A7717 #174A77 #741777 #774417
square
#1A7717 #174A77 #741777 #774417
split-complementary
#1A7717 #441777 #77174A
monochromatic
#061A05 #0F440D #1A7717 #25AA21 #36D731

Accessibility & contrast

On white

5.68
#1A7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1A7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7717
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7717#FFFFFF#000000##FFFFFF
##1A77171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1a7717;
/* rgb */ color: rgb(26, 119, 23);
/* oklch */ color: oklch(49.8% 0.154 142.5);
Tailwind
colors: {
  custom: {
    50: '#689f5c',
    500: '#1a7717',
    950: '#000000',
  },
}
SCSS
$custom: #1a7717;
$custom-light: #689f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7717",
  "rgb": {
    "r": 26,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 118.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.15414,
    "h": 142.5
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#1A7717
secondary
#A93EAC
accent
#3DEAE5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1A7717

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

Preview Lab → · Contrast checker → · Palette generator →

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