#1A6017#1A6017

#1A6017 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.126 H 142.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#1A6017
RGBrgb(26, 96, 23)
HSLhsl(118, 61%, 23%)
HSVhsv(118, 76%, 38%)
CMYKcmyk(72.9%, 0%, 76%, 62.4%)
CIE-LABlab(35.30, -36.76, 33.73)
CIE-LCHlch(35.30, 49.89, 137.46°)
OKLaboklab(43.01% -0.1 0.0768)
OKLCHoklch(43.01% 0.126 142.5)
XYZxyz(4.7633, 8.6467, 2.2284)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6017 #5D1760
analogous
#3E6017 #1A6017 #176038
triadic
#1A6017 #171A60 #60171A
tetradic
#1A6017 #173E60 #5D1760 #603817
square
#1A6017 #173E60 #5D1760 #603817
split-complementary
#1A6017 #381760 #60173E
monochromatic
#071906 #0D2F0B #1A6017 #279123 #35C32F

Accessibility & contrast

On white

7.69
#1A6017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1A6017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A6017
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6017#FFFFFF#000000##FFFFFF
##1A60171.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#085D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a6017;
/* rgb */ color: rgb(26, 96, 23);
/* oklch */ color: oklch(43.0% 0.126 142.5);
Tailwind
colors: {
  custom: {
    50: '#628e59',
    500: '#1a6017',
    950: '#000000',
  },
}
SCSS
$custom: #1a6017;
$custom-light: #628e59;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6017",
  "rgb": {
    "r": 26,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 117.534,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43008,
    "c": 0.12605,
    "h": 142.5
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#1A6017
secondary
#933C97
accent
#43E4DE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #1A6017

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

Preview Lab → · Contrast checker → · Palette generator →

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