#1A6912#1A6912

#1A6912 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.6% C 0.140 H 141.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#1A6912
RGBrgb(26, 105, 18)
HSLhsl(114, 71%, 24%)
HSVhsv(114, 83%, 41%)
CMYKcmyk(75.2%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.49, -40.47, 38.84)
CIE-LCHlch(38.49, 56.09, 136.18°)
OKLaboklab(45.65% -0.1103 0.0867)
OKLCHoklch(45.65% 0.14 141.8)
XYZxyz(5.5864, 10.3658, 2.2785)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6912 #611269
analogous
#466912 #1A6912 #126936
triadic
#1A6912 #121A69 #69121A
tetradic
#1A6912 #124669 #611269 #693612
square
#1A6912 #124669 #611269 #693612
split-complementary
#1A6912 #361269 #691246
monochromatic
#061A04 #0D3509 #1A6912 #279D1B #34D124

Accessibility & contrast

On white

6.83
#1A6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1A6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6912
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6912#FFFFFF#000000##FFFFFF
##1A69121.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#036659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1a6912;
/* rgb */ color: rgb(26, 105, 18);
/* oklch */ color: oklch(45.6% 0.140 141.8);
Tailwind
colors: {
  custom: {
    50: '#659558',
    500: '#1a6912',
    950: '#000000',
  },
}
SCSS
$custom: #1a6912;
$custom-light: #659558;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6912",
  "rgb": {
    "r": 26,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 114.483,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.14028,
    "h": 141.8
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#1A6912
secondary
#9736A1
accent
#3AEDDD
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1A6912

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

Preview Lab → · Contrast checker → · Palette generator →

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