#1A8817#1A8817

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

Color values

HEX#1A8817
RGBrgb(26, 136, 23)
HSLhsl(118, 71%, 31%)
HSVhsv(118, 83%, 53%)
CMYKcmyk(80.9%, 0%, 83.1%, 46.7%)
CIE-LABlab(49.36, -50.63, 47.51)
CIE-LCHlch(49.36, 69.43, 136.82°)
OKLaboklab(54.69% -0.1376 0.1055)
OKLCHoklch(54.69% 0.173 142.5)
XYZxyz(9.3842, 17.8887, 3.7687)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8817 #851788
analogous
#528817 #1A8817 #17884C
triadic
#1A8817 #171A88 #88171A
tetradic
#1A8817 #175288 #851788 #884C17
square
#1A8817 #175288 #851788 #884C17
split-complementary
#1A8817 #4C1788 #881752
monochromatic
#061F05 #10540E #1A8817 #24BC20 #40DE3B

Accessibility & contrast

On white

4.59
#1A8817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1A8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8817
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8817#FFFFFF#000000##FFFFFF
##1A88171.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#008473
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a8817;
/* rgb */ color: rgb(26, 136, 23);
/* oklch */ color: oklch(54.7% 0.173 142.5);
Tailwind
colors: {
  custom: {
    50: '#6dac5f',
    500: '#1a8817',
    950: '#000000',
  },
}
SCSS
$custom: #1a8817;
$custom-light: #6dac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8817",
  "rgb": {
    "r": 26,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 118.407,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.17337,
    "h": 142.5
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#1A8817
secondary
#B83FBC
accent
#3AEEE9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A8817

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

Preview Lab → · Contrast checker → · Palette generator →

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