#1A771D#1A771D

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

Color values

HEX#1A771D
RGBrgb(26, 119, 29)
HSLhsl(122, 64%, 28%)
HSVhsv(122, 78%, 47%)
CMYKcmyk(78.2%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.51, -44.51, 39.71)
CIE-LCHlch(43.51, 59.65, 138.27°)
OKLaboklab(49.84% -0.1207 0.0901)
OKLCHoklch(49.84% 0.151 143.3)
XYZxyz(7.2441, 13.5011, 3.3864)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A771D #771A74
analogous
#45771A #1A771D #1A774B
triadic
#1A771D #1D1A77 #771D1A
tetradic
#1A771D #1A4577 #771A74 #774B1A
square
#1A771D #1A4577 #771A74 #774B1A
split-complementary
#1A771D #4B1A77 #771A45
monochromatic
#051906 #0F4511 #1A771D #25A929 #38D33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A771D#FFFFFF#000000##FFFFFF
##1A771D1.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)
#7A6B0D
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1a771d;
/* rgb */ color: rgb(26, 119, 29);
/* oklch */ color: oklch(49.8% 0.151 143.3);
Tailwind
colors: {
  custom: {
    50: '#689f5f',
    500: '#1a771d',
    950: '#000000',
  },
}
SCSS
$custom: #1a771d;
$custom-light: #689f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a771d",
  "rgb": {
    "r": 26,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 121.935,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4984,
    "c": 0.1506,
    "h": 143.3
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#1A771D
secondary
#AC41A8
accent
#41E2E7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1A771D

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

Preview Lab → · Contrast checker → · Palette generator →

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