#1A6312#1A6312

#1A6312 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.9% C 0.133 H 141.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#1A6312
RGBrgb(26, 99, 18)
HSLhsl(114, 69%, 23%)
HSVhsv(114, 82%, 39%)
CMYKcmyk(73.7%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.34, -38.30, 36.76)
CIE-LCHlch(36.34, 53.09, 136.18°)
OKLaboklab(43.86% -0.1044 0.0824)
OKLCHoklch(43.86% 0.133 141.7)
XYZxyz(4.9967, 9.1864, 2.0820)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6312 #5B1263
analogous
#426312 #1A6312 #126332
triadic
#1A6312 #121A63 #63121A
tetradic
#1A6312 #124263 #5B1263 #633212
square
#1A6312 #124263 #5B1263 #633212
split-complementary
#1A6312 #321263 #631242
monochromatic
#071A05 #0C2F09 #1A6312 #28971B #35CB25

Accessibility & contrast

On white

7.40
#1A6312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1A6312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A6312
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6312#FFFFFF#000000##FFFFFF
##1A63121.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#086054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1a6312;
/* rgb */ color: rgb(26, 99, 18);
/* oklch */ color: oklch(43.9% 0.133 141.7);
Tailwind
colors: {
  custom: {
    50: '#639057',
    500: '#1a6312',
    950: '#000000',
  },
}
SCSS
$custom: #1a6312;
$custom-light: #639057;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6312",
  "rgb": {
    "r": 26,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 114.074,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.13299,
    "h": 141.7
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#1A6312
secondary
#91369B
accent
#3CECDB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D03
muted
#7A7D78

Preview Lab

Preview with #1A6312

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

Preview Lab → · Contrast checker → · Palette generator →

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