#1A771C#1A771C

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

Color values

HEX#1A771C
RGBrgb(26, 119, 28)
HSLhsl(121, 64%, 28%)
HSVhsv(121, 78%, 47%)
CMYKcmyk(78.2%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.50, -44.60, 40.09)
CIE-LCHlch(43.50, 59.97, 138.05°)
OKLaboklab(49.83% -0.121 0.0908)
OKLCHoklch(49.83% 0.151 143.1)
XYZxyz(7.2320, 13.4963, 3.3223)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A771C #771A75
analogous
#46771A #1A771C #1A774A
triadic
#1A771C #1C1A77 #771C1A
tetradic
#1A771C #1A4677 #771A75 #774A1A
square
#1A771C #1A4677 #771A75 #774A1A
split-complementary
#1A771C #4A1A77 #771A46
monochromatic
#051906 #0F4510 #1A771C #25A928 #38D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1a771c;
/* rgb */ color: rgb(26, 119, 28);
/* oklch */ color: oklch(49.8% 0.151 143.1);
Tailwind
colors: {
  custom: {
    50: '#689f5f',
    500: '#1a771c',
    950: '#000000',
  },
}
SCSS
$custom: #1a771c;
$custom-light: #689f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a771c",
  "rgb": {
    "r": 26,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 121.29,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.15124,
    "h": 143.1
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#1A771C
secondary
#AC41A9
accent
#41E4E7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1A771C

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

Preview Lab → · Contrast checker → · Palette generator →

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