#1A6D17#1A6D17

#1A6D17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.142 H 142.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#1A6D17
RGBrgb(26, 109, 23)
HSLhsl(118, 65%, 26%)
HSVhsv(118, 79%, 43%)
CMYKcmyk(76.1%, 0%, 78.9%, 57.3%)
CIE-LABlab(39.95, -41.52, 38.45)
CIE-LCHlch(39.95, 56.59, 137.20°)
OKLaboklab(46.87% -0.1129 0.0866)
OKLCHoklch(46.87% 0.142 142.5)
XYZxyz(6.0489, 11.2181, 2.6570)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6D17 #6A176D
analogous
#456D17 #1A6D17 #176D3F
triadic
#1A6D17 #171A6D #6D171A
tetradic
#1A6D17 #17456D #6A176D #6D3F17
square
#1A6D17 #17456D #6A176D #6D3F17
split-complementary
#1A6D17 #3F176D #6D1745
monochromatic
#061905 #0E3A0C #1A6D17 #26A022 #32D22C

Accessibility & contrast

On white

6.47
#1A6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#1A6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6D17
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6D17#FFFFFF#000000##FFFFFF
##1A6D171.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706205
Deuteranopia (green-blind)
#665C20
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1a6d17;
/* rgb */ color: rgb(26, 109, 23);
/* oklch */ color: oklch(46.9% 0.142 142.5);
Tailwind
colors: {
  custom: {
    50: '#66985b',
    500: '#1a6d17',
    950: '#000000',
  },
}
SCSS
$custom: #1a6d17;
$custom-light: #66985b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6d17",
  "rgb": {
    "r": 26,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 117.907,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46867,
    "c": 0.14228,
    "h": 142.5
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#1A6D17
secondary
#9F3DA3
accent
#40E8E2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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