#1A781B#1A781B

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

Color values

HEX#1A781B
RGBrgb(26, 120, 27)
HSLhsl(121, 64%, 29%)
HSVhsv(121, 78%, 47%)
CMYKcmyk(78.3%, 0%, 77.5%, 52.9%)
CIE-LABlab(43.84, -45.03, 40.82)
CIE-LCHlch(43.84, 60.78, 137.81°)
OKLaboklab(50.11% -0.1222 0.0922)
OKLCHoklch(50.11% 0.153 143)
XYZxyz(7.3398, 13.7308, 3.3002)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A781B #781A77
analogous
#48781A #1A781B #1A784A
triadic
#1A781B #1B1A78 #781B1A
tetradic
#1A781B #1A4878 #781A77 #784A1A
square
#1A781B #1A4878 #781A77 #784A1A
split-complementary
#1A781B #4A1A78 #781A48
monochromatic
#051906 #0F4610 #1A781B #25AA26 #38D43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A781B#FFFFFF#000000##FFFFFF
##1A781B1.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)
#7B6C08
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1a781b;
/* rgb */ color: rgb(26, 120, 27);
/* oklch */ color: oklch(50.1% 0.153 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a05e',
    500: '#1a781b',
    950: '#000000',
  },
}
SCSS
$custom: #1a781b;
$custom-light: #68a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a781b",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 120.638,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.15303,
    "h": 143
  },
  "luminance": 0.13732
}

Semantic roles & 50–950 ramp

primary
#1A781B
secondary
#AC41AB
accent
#40E6E7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1A781B

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

Preview Lab → · Contrast checker → · Palette generator →

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