#1A6A12#1A6A12

#1A6A12 is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.141 H 141.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#1A6A12
RGBrgb(26, 106, 18)
HSLhsl(115, 71%, 24%)
HSVhsv(115, 83%, 42%)
CMYKcmyk(75.5%, 0%, 83%, 58.4%)
CIE-LABlab(38.85, -40.83, 39.18)
CIE-LCHlch(38.85, 56.58, 136.18°)
OKLaboklab(45.95% -0.1113 0.0874)
OKLCHoklch(45.95% 0.141 141.9)
XYZxyz(5.6889, 10.5707, 2.3127)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6A12 #62126A
analogous
#466A12 #1A6A12 #126A36
triadic
#1A6A12 #121A6A #6A121A
tetradic
#1A6A12 #12466A #62126A #6A3612
square
#1A6A12 #12466A #62126A #6A3612
split-complementary
#1A6A12 #36126A #6A1246
monochromatic
#061A04 #0D3609 #1A6A12 #279E1B #34D324

Accessibility & contrast

On white

6.74
#1A6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#1A6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6A12
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6A12#FFFFFF#000000##FFFFFF
##1A6A121.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#03665A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1a6a12;
/* rgb */ color: rgb(26, 106, 18);
/* oklch */ color: oklch(45.9% 0.141 141.9);
Tailwind
colors: {
  custom: {
    50: '#659558',
    500: '#1a6a12',
    950: '#000000',
  },
}
SCSS
$custom: #1a6a12;
$custom-light: #659558;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6a12",
  "rgb": {
    "r": 26,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 114.545,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.14148,
    "h": 141.9
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#1A6A12
secondary
#9836A2
accent
#3AEEDD
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1A6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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