#1A771A#1A771A

#1A771A is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.152 H 142.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1A771A
RGBrgb(26, 119, 26)
HSLhsl(120, 64%, 28%)
HSVhsv(120, 78%, 47%)
CMYKcmyk(78.2%, 0%, 78.2%, 53.3%)
CIE-LABlab(43.49, -44.77, 40.84)
CIE-LCHlch(43.49, 60.60, 137.62°)
OKLaboklab(49.82% -0.1215 0.0921)
OKLCHoklch(49.82% 0.152 142.9)
XYZxyz(7.2088, 13.4870, 3.2004)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A771A #771A77
analogous
#48771A #1A771A #1A7748
triadic
#1A771A #1A1A77 #771A1A
tetradic
#1A771A #1A4877 #771A77 #77481A
square
#1A771A #1A4877 #771A77 #77481A
split-complementary
#1A771A #481A77 #771A48
monochromatic
#051905 #0F450F #1A771A #25A925 #38D338

Accessibility & contrast

On white

5.68
#1A771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1A771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A771A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A771A#FFFFFF#000000##FFFFFF
##1A771A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B06
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1a771a;
/* rgb */ color: rgb(26, 119, 26);
/* oklch */ color: oklch(49.8% 0.152 142.9);
Tailwind
colors: {
  custom: {
    50: '#689f5e',
    500: '#1a771a',
    950: '#000000',
  },
}
SCSS
$custom: #1a771a;
$custom-light: #689f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a771a",
  "rgb": {
    "r": 26,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 120,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.15245,
    "h": 142.9
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A771A

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

Preview Lab → · Contrast checker → · Palette generator →

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