#1A7617#1A7617

#1A7617 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.153 H 142.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#1A7617
RGBrgb(26, 118, 23)
HSLhsl(118, 67%, 28%)
HSVhsv(118, 81%, 46%)
CMYKcmyk(78%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.12, -44.66, 41.57)
CIE-LCHlch(43.12, 61.01, 137.05°)
OKLaboklab(49.5% -0.1214 0.0931)
OKLCHoklch(49.5% 0.153 142.5)
XYZxyz(7.0587, 13.2375, 2.9935)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7617 #731776
analogous
#4A7617 #1A7617 #177643
triadic
#1A7617 #171A76 #76171A
tetradic
#1A7617 #174A76 #731776 #764317
square
#1A7617 #174A76 #731776 #764317
split-complementary
#1A7617 #431776 #76174A
monochromatic
#061A05 #0F430D #1A7617 #25A921 #36D731

Accessibility & contrast

On white

5.76
#1A7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#1A7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7617
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7617#FFFFFF#000000##FFFFFF
##1A76171.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1a7617;
/* rgb */ color: rgb(26, 118, 23);
/* oklch */ color: oklch(49.5% 0.153 142.5);
Tailwind
colors: {
  custom: {
    50: '#689e5c',
    500: '#1a7617',
    950: '#000000',
  },
}
SCSS
$custom: #1a7617;
$custom-light: #689e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7617",
  "rgb": {
    "r": 26,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 118.105,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.15298,
    "h": 142.5
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A7617

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

Preview Lab → · Contrast checker → · Palette generator →

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