#1A6012#1A6012

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

Color values

HEX#1A6012
RGBrgb(26, 96, 18)
HSLhsl(114, 68%, 22%)
HSVhsv(114, 81%, 38%)
CMYKcmyk(72.9%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.26, -37.19, 35.70)
CIE-LCHlch(35.26, 51.55, 136.17°)
OKLaboklab(42.97% -0.1014 0.0802)
OKLCHoklch(42.97% 0.129 141.7)
XYZxyz(4.7178, 8.6285, 1.9890)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6012 #581260
analogous
#416012 #1A6012 #126031
triadic
#1A6012 #121A60 #60121A
tetradic
#1A6012 #124160 #581260 #603112
square
#1A6012 #124160 #581260 #603112
split-complementary
#1A6012 #311260 #601241
monochromatic
#071A05 #0C2C08 #1A6012 #28941C #36C725

Accessibility & contrast

On white

7.70
#1A6012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A6012
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6012#FFFFFF#000000##FFFFFF
##1A60121.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635602
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#0A5D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a6012;
/* rgb */ color: rgb(26, 96, 18);
/* oklch */ color: oklch(43.0% 0.129 141.7);
Tailwind
colors: {
  custom: {
    50: '#638e56',
    500: '#1a6012',
    950: '#000000',
  },
}
SCSS
$custom: #1a6012;
$custom-light: #638e56;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6012",
  "rgb": {
    "r": 26,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 113.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.12927,
    "h": 141.7
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#1A6012
secondary
#8E3698
accent
#3DEBD9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1A6012

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

Preview Lab → · Contrast checker → · Palette generator →

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