#1A7417#1A7417

#1A7417 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.151 H 142.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1A7417
RGBrgb(26, 116, 23)
HSLhsl(118, 67%, 27%)
HSVhsv(118, 80%, 45%)
CMYKcmyk(77.6%, 0%, 80.2%, 54.5%)
CIE-LABlab(42.42, -43.97, 40.88)
CIE-LCHlch(42.42, 60.04, 137.08°)
OKLaboklab(48.92% -0.1195 0.0917)
OKLCHoklch(48.92% 0.151 142.5)
XYZxyz(6.8256, 12.7715, 2.9159)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7417 #711774
analogous
#487417 #1A7417 #177443
triadic
#1A7417 #171A74 #74171A
tetradic
#1A7417 #174874 #711774 #744317
square
#1A7417 #174874 #711774 #744317
split-complementary
#1A7417 #431774 #741748
monochromatic
#061A05 #0F410D #1A7417 #25A721 #35D630

Accessibility & contrast

On white

5.91
#1A7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1A7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7417
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7417#FFFFFF#000000##FFFFFF
##1A74171.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a7417;
/* rgb */ color: rgb(26, 116, 23);
/* oklch */ color: oklch(48.9% 0.151 142.5);
Tailwind
colors: {
  custom: {
    50: '#679d5c',
    500: '#1a7417',
    950: '#000000',
  },
}
SCSS
$custom: #1a7417;
$custom-light: #679d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7417",
  "rgb": {
    "r": 26,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 118.065,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.15062,
    "h": 142.5
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#1A7417
secondary
#A63DA9
accent
#3EEAE4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7417

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

Preview Lab → · Contrast checker → · Palette generator →

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