#1A6512#1A6512

#1A6512 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.5% C 0.135 H 141.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#1A6512
RGBrgb(26, 101, 18)
HSLhsl(114, 70%, 23%)
HSVhsv(114, 82%, 40%)
CMYKcmyk(74.3%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.06, -39.03, 37.46)
CIE-LCHlch(37.06, 54.10, 136.18°)
OKLaboklab(44.46% -0.1064 0.0838)
OKLCHoklch(44.46% 0.135 141.8)
XYZxyz(5.1886, 9.5701, 2.1459)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6512 #5D1265
analogous
#436512 #1A6512 #126533
triadic
#1A6512 #121A65 #65121A
tetradic
#1A6512 #124365 #5D1265 #653312
square
#1A6512 #124365 #5D1265 #653312
split-complementary
#1A6512 #331265 #651243
monochromatic
#071A05 #0D3109 #1A6512 #27991B #35CD25

Accessibility & contrast

On white

7.21
#1A6512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1A6512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A6512
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6512#FFFFFF#000000##FFFFFF
##1A65121.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#066255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1a6512;
/* rgb */ color: rgb(26, 101, 18);
/* oklch */ color: oklch(44.5% 0.135 141.8);
Tailwind
colors: {
  custom: {
    50: '#649257',
    500: '#1a6512',
    950: '#000000',
  },
}
SCSS
$custom: #1a6512;
$custom-light: #649257;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6512",
  "rgb": {
    "r": 26,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 114.217,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.13544,
    "h": 141.8
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#1A6512
secondary
#93369D
accent
#3BEDDB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1A6512

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

Preview Lab → · Contrast checker → · Palette generator →

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