#1A781A#1A781A

#1A781A is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.154 H 142.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#1A781A
RGBrgb(26, 120, 26)
HSLhsl(120, 64%, 29%)
HSVhsv(120, 78%, 47%)
CMYKcmyk(78.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(43.84, -45.11, 41.19)
CIE-LCHlch(43.84, 61.09, 137.60°)
OKLaboklab(50.11% -0.1224 0.0928)
OKLCHoklch(50.11% 0.154 142.9)
XYZxyz(7.3285, 13.7263, 3.2403)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A781A #781A78
analogous
#49781A #1A781A #1A7849
triadic
#1A781A #1A1A78 #781A1A
tetradic
#1A781A #1A4978 #781A78 #78491A
square
#1A781A #1A4978 #781A78 #78491A
split-complementary
#1A781A #491A78 #781A49
monochromatic
#051905 #0F460F #1A781A #25AA25 #38D438

Accessibility & contrast

On white

5.61
#1A781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#1A781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A781A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A781A#FFFFFF#000000##FFFFFF
##1A781A1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1a781a;
/* rgb */ color: rgb(26, 120, 26);
/* oklch */ color: oklch(50.1% 0.154 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a05e',
    500: '#1a781a',
    950: '#000000',
  },
}
SCSS
$custom: #1a781a;
$custom-light: #68a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a781a",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 120,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.15362,
    "h": 142.9
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

primary
#1A781A
secondary
#AC41AC
accent
#40E7E7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1A781A

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

Preview Lab → · Contrast checker → · Palette generator →

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