#1A6812#1A6812

#1A6812 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.139 H 141.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1A6812
RGBrgb(26, 104, 18)
HSLhsl(114, 70%, 24%)
HSVhsv(114, 83%, 41%)
CMYKcmyk(75%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.13, -40.11, 38.49)
CIE-LCHlch(38.13, 55.60, 136.18°)
OKLaboklab(45.35% -0.1093 0.086)
OKLCHoklch(45.35% 0.139 141.8)
XYZxyz(5.4852, 10.1633, 2.2448)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6812 #601268
analogous
#456812 #1A6812 #126835
triadic
#1A6812 #121A68 #68121A
tetradic
#1A6812 #124568 #601268 #683512
square
#1A6812 #124568 #601268 #683512
split-complementary
#1A6812 #351268 #681245
monochromatic
#071A05 #0D3409 #1A6812 #279C1B #34D024

Accessibility & contrast

On white

6.92
#1A6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1A6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6812
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6812#FFFFFF#000000##FFFFFF
##1A68121.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#046558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a6812;
/* rgb */ color: rgb(26, 104, 18);
/* oklch */ color: oklch(45.4% 0.139 141.8);
Tailwind
colors: {
  custom: {
    50: '#659458',
    500: '#1a6812',
    950: '#000000',
  },
}
SCSS
$custom: #1a6812;
$custom-light: #659458;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6812",
  "rgb": {
    "r": 26,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 114.419,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.13908,
    "h": 141.8
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#1A6812
secondary
#9636A0
accent
#3BEDDD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1A6812

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

Preview Lab → · Contrast checker → · Palette generator →

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