#1A8617#1A8617

#1A8617 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.171 H 142.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1A8617
RGBrgb(26, 134, 23)
HSLhsl(118, 71%, 31%)
HSVhsv(118, 83%, 53%)
CMYKcmyk(80.6%, 0%, 82.8%, 47.5%)
CIE-LABlab(48.67, -49.99, 46.87)
CIE-LCHlch(48.67, 68.52, 136.84°)
OKLaboklab(54.12% -0.1358 0.1042)
OKLCHoklch(54.12% 0.171 142.5)
XYZxyz(9.1052, 17.3306, 3.6757)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8617 #831786
analogous
#518617 #1A8617 #17864B
triadic
#1A8617 #171A86 #86171A
tetradic
#1A8617 #175186 #831786 #864B17
square
#1A8617 #175186 #831786 #864B17
split-complementary
#1A8617 #4B1786 #861751
monochromatic
#061E05 #10520E #1A8617 #24BA20 #3FDD3A

Accessibility & contrast

On white

4.70
#1A8617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1A8617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8617
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8617#FFFFFF#000000##FFFFFF
##1A86171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a8617;
/* rgb */ color: rgb(26, 134, 23);
/* oklch */ color: oklch(54.1% 0.171 142.5);
Tailwind
colors: {
  custom: {
    50: '#6caa5f',
    500: '#1a8617',
    950: '#000000',
  },
}
SCSS
$custom: #1a8617;
$custom-light: #6caa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8617",
  "rgb": {
    "r": 26,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 118.378,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54122,
    "c": 0.17117,
    "h": 142.5
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#1A8617
secondary
#B73FBA
accent
#3AEDE9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A8617

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

Preview Lab → · Contrast checker → · Palette generator →

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