#1A7017#1A7017

#1A7017 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.7% C 0.146 H 142.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#1A7017
RGBrgb(26, 112, 23)
HSLhsl(118, 66%, 26%)
HSVhsv(118, 79%, 44%)
CMYKcmyk(76.8%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.01, -42.58, 39.50)
CIE-LCHlch(41.01, 58.08, 137.15°)
OKLaboklab(47.75% -0.1157 0.0888)
OKLCHoklch(47.75% 0.146 142.5)
XYZxyz(6.3744, 11.8691, 2.7655)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7017 #6D1770
analogous
#477017 #1A7017 #177041
triadic
#1A7017 #171A70 #70171A
tetradic
#1A7017 #174770 #6D1770 #704117
square
#1A7017 #174770 #6D1770 #704117
split-complementary
#1A7017 #411770 #701747
monochromatic
#061905 #0E3D0D #1A7017 #26A321 #33D42D

Accessibility & contrast

On white

6.22
#1A7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#1A7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7017
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7017#FFFFFF#000000##FFFFFF
##1A70171.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1a7017;
/* rgb */ color: rgb(26, 112, 23);
/* oklch */ color: oklch(47.7% 0.146 142.5);
Tailwind
colors: {
  custom: {
    50: '#669a5b',
    500: '#1a7017',
    950: '#000000',
  },
}
SCSS
$custom: #1a7017;
$custom-light: #669a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7017",
  "rgb": {
    "r": 26,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 117.978,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.14588,
    "h": 142.5
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#1A7017
secondary
#A23DA6
accent
#3FE9E3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7017

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

Preview Lab → · Contrast checker → · Palette generator →

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