#1A8F17#1A8F17

#1A8F17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.181 H 142.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1A8F17
RGBrgb(26, 143, 23)
HSLhsl(119, 72%, 33%)
HSVhsv(119, 84%, 56%)
CMYKcmyk(81.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.75, -52.87, 49.73)
CIE-LCHlch(51.75, 72.59, 136.75°)
OKLaboklab(56.68% -0.1436 0.1102)
OKLCHoklch(56.68% 0.181 142.5)
XYZxyz(10.4025, 19.9251, 4.1081)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8F17 #8C178F
analogous
#568F17 #1A8F17 #178F50
triadic
#1A8F17 #171A8F #8F171A
tetradic
#1A8F17 #17568F #8C178F #8F5017
square
#1A8F17 #17568F #8C178F #8F5017
split-complementary
#1A8F17 #50178F #8F1756
monochromatic
#072606 #105A0F #1A8F17 #24C41F #44E040

Accessibility & contrast

On white

4.21
#1A8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1A8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8F17
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8F17#FFFFFF#000000##000000
##1A8F171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1a8f17;
/* rgb */ color: rgb(26, 143, 23);
/* oklch */ color: oklch(56.7% 0.181 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fb160',
    500: '#1a8f17',
    950: '#000000',
  },
}
SCSS
$custom: #1a8f17;
$custom-light: #6fb160;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8f17",
  "rgb": {
    "r": 26,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 118.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.18101,
    "h": 142.5
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#1A8F17
secondary
#BE41C1
accent
#39EFEA
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1A8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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