#1A7412#1A7412

#1A7412 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.153 H 142.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1A7412
RGBrgb(26, 116, 18)
HSLhsl(115, 73%, 26%)
HSVhsv(115, 84%, 45%)
CMYKcmyk(77.6%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.39, -44.31, 42.52)
CIE-LCHlch(42.39, 61.41, 136.18°)
OKLaboklab(48.89% -0.1207 0.0944)
OKLCHoklch(48.89% 0.153 142)
XYZxyz(6.7802, 12.7533, 2.6765)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7412 #6C1274
analogous
#4B7412 #1A7412 #12743B
triadic
#1A7412 #121A74 #74121A
tetradic
#1A7412 #124B74 #6C1274 #743B12
square
#1A7412 #124B74 #6C1274 #743B12
split-complementary
#1A7412 #3B1274 #74124B
monochromatic
#061A04 #0E3F0A #1A7412 #26A91A #33DD23

Accessibility & contrast

On white

5.91
#1A7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1A7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7412
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7412#FFFFFF#000000##FFFFFF
##1A74121.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a7412;
/* rgb */ color: rgb(26, 116, 18);
/* oklch */ color: oklch(48.9% 0.153 142.0);
Tailwind
colors: {
  custom: {
    50: '#689d5a',
    500: '#1a7412',
    950: '#000000',
  },
}
SCSS
$custom: #1a7412;
$custom-light: #689d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7412",
  "rgb": {
    "r": 26,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 115.102,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.15319,
    "h": 142
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#1A7412
secondary
#A137AB
accent
#38F0E1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7412

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

Preview Lab → · Contrast checker → · Palette generator →

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