#1A7312#1A7312

#1A7312 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.152 H 142.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1A7312
RGBrgb(26, 115, 18)
HSLhsl(115, 73%, 26%)
HSVhsv(115, 84%, 45%)
CMYKcmyk(77.4%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.04, -43.97, 42.19)
CIE-LCHlch(42.04, 60.94, 136.18°)
OKLaboklab(48.6% -0.1197 0.0937)
OKLCHoklch(48.6% 0.152 142)
XYZxyz(6.6655, 12.5240, 2.6382)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7312 #6B1273
analogous
#4A7312 #1A7312 #12733A
triadic
#1A7312 #121A73 #73121A
tetradic
#1A7312 #124A73 #6B1273 #733A12
square
#1A7312 #124A73 #6B1273 #733A12
split-complementary
#1A7312 #3A1273 #73124A
monochromatic
#061A04 #0E3E0A #1A7312 #26A81A #32DD23

Accessibility & contrast

On white

5.99
#1A7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1A7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7312
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7312#FFFFFF#000000##FFFFFF
##1A73121.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7312;
/* rgb */ color: rgb(26, 115, 18);
/* oklch */ color: oklch(48.6% 0.152 142.0);
Tailwind
colors: {
  custom: {
    50: '#679c59',
    500: '#1a7312',
    950: '#000000',
  },
}
SCSS
$custom: #1a7312;
$custom-light: #679c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7312",
  "rgb": {
    "r": 26,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 115.052,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.15203,
    "h": 142
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#1A7312
secondary
#A037AA
accent
#38F0E0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7312

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

Preview Lab → · Contrast checker → · Palette generator →

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