#1A8017#1A8017

#1A8017 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.164 H 142.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1A8017
RGBrgb(26, 128, 23)
HSLhsl(118, 70%, 30%)
HSVhsv(118, 82%, 50%)
CMYKcmyk(79.7%, 0%, 82%, 49.8%)
CIE-LABlab(46.60, -48.02, 44.91)
CIE-LCHlch(46.60, 65.75, 136.91°)
OKLaboklab(52.4% -0.1305 0.1001)
OKLCHoklch(52.4% 0.164 142.5)
XYZxyz(8.2993, 15.7188, 3.4071)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8017 #7D1780
analogous
#4E8017 #1A8017 #178049
triadic
#1A8017 #171A80 #80171A
tetradic
#1A8017 #174E80 #7D1780 #804917
square
#1A8017 #174E80 #7D1780 #804917
split-complementary
#1A8017 #491780 #80174E
monochromatic
#051A05 #0F4C0E #1A8017 #25B420 #3BDB36

Accessibility & contrast

On white

5.07
#1A8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1A8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8017
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8017#FFFFFF#000000##FFFFFF
##1A80171.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a8017;
/* rgb */ color: rgb(26, 128, 23);
/* oklch */ color: oklch(52.4% 0.164 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ba65e',
    500: '#1a8017',
    950: '#000000',
  },
}
SCSS
$custom: #1a8017;
$custom-light: #6ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8017",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 118.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.524,
    "c": 0.16445,
    "h": 142.5
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#1A8017
secondary
#B13EB4
accent
#3BECE7
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1A8017

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

Preview Lab → · Contrast checker → · Palette generator →

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