#1A771F#1A771F

#1A771F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.149 H 143.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#1A771F
RGBrgb(26, 119, 31)
HSLhsl(123, 64%, 28%)
HSVhsv(123, 78%, 47%)
CMYKcmyk(78.2%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.52, -44.33, 38.91)
CIE-LCHlch(43.52, 58.98, 138.72°)
OKLaboklab(49.86% -0.1201 0.0887)
OKLCHoklch(49.86% 0.149 143.5)
XYZxyz(7.2697, 13.5114, 3.5209)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A771F #771A72
analogous
#43771A #1A771F #1A774D
triadic
#1A771F #1F1A77 #771F1A
tetradic
#1A771F #1A4377 #771A72 #774D1A
square
#1A771F #1A4377 #771A72 #774D1A
split-complementary
#1A771F #4D1A77 #771A43
monochromatic
#051907 #0F4512 #1A771F #25A92C #38D340

Accessibility & contrast

On white

5.67
#1A771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A771F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A771F#FFFFFF#000000##FFFFFF
##1A771F1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1a771f;
/* rgb */ color: rgb(26, 119, 31);
/* oklch */ color: oklch(49.9% 0.149 143.5);
Tailwind
colors: {
  custom: {
    50: '#689f60',
    500: '#1a771f',
    950: '#000000',
  },
}
SCSS
$custom: #1a771f;
$custom-light: #689f60;
$custom-dark: #000000;
JSON
{
  "hex": "#1a771f",
  "rgb": {
    "r": 26,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 123.226,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.14929,
    "h": 143.5
  },
  "luminance": 0.13512
}

Semantic roles & 50–950 ramp

primary
#1A771F
secondary
#AC41A6
accent
#41DEE7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1A771F

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

Preview Lab → · Contrast checker → · Palette generator →

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