#1A6717#1A6717

#1A6717 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.135 H 142.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#1A6717
RGBrgb(26, 103, 23)
HSLhsl(118, 63%, 25%)
HSVhsv(118, 78%, 40%)
CMYKcmyk(74.8%, 0%, 77.7%, 59.6%)
CIE-LABlab(37.81, -39.36, 36.30)
CIE-LCHlch(37.81, 53.55, 137.31°)
OKLaboklab(45.09% -0.107 0.0821)
OKLCHoklch(45.09% 0.135 142.5)
XYZxyz(5.4306, 9.9814, 2.4508)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6717 #641767
analogous
#426717 #1A6717 #17673C
triadic
#1A6717 #171A67 #67171A
tetradic
#1A6717 #174267 #641767 #673C17
square
#1A6717 #174267 #641767 #673C17
split-complementary
#1A6717 #3C1767 #671742
monochromatic
#061906 #0D350C #1A6717 #279922 #33CB2D

Accessibility & contrast

On white

7.01
#1A6717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#1A6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6717
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6717#FFFFFF#000000##FFFFFF
##1A67171.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#036457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1a6717;
/* rgb */ color: rgb(26, 103, 23);
/* oklch */ color: oklch(45.1% 0.135 142.5);
Tailwind
colors: {
  custom: {
    50: '#64935a',
    500: '#1a6717',
    950: '#000000',
  },
}
SCSS
$custom: #1a6717;
$custom-light: #64935a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6717",
  "rgb": {
    "r": 26,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 117.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.1349,
    "h": 142.5
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#1A6717
secondary
#9A3D9D
accent
#41E7E0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1A6717

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

Preview Lab → · Contrast checker → · Palette generator →

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