#1A771B#1A771B

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

Color values

HEX#1A771B
RGBrgb(26, 119, 27)
HSLhsl(121, 64%, 28%)
HSVhsv(121, 78%, 47%)
CMYKcmyk(78.2%, 0%, 77.3%, 53.3%)
CIE-LABlab(43.49, -44.69, 40.47)
CIE-LCHlch(43.49, 60.29, 137.83°)
OKLaboklab(49.82% -0.1212 0.0914)
OKLCHoklch(49.82% 0.152 143)
XYZxyz(7.2202, 13.4916, 3.2603)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A771B #771A76
analogous
#47771A #1A771B #1A7749
triadic
#1A771B #1B1A77 #771B1A
tetradic
#1A771B #1A4777 #771A76 #77491A
square
#1A771B #1A4777 #771A76 #77491A
split-complementary
#1A771B #491A77 #771A47
monochromatic
#051906 #0F4510 #1A771B #25A926 #38D33A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A771B#FFFFFF#000000##FFFFFF
##1A771B1.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)
#7A6B09
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1a771b;
/* rgb */ color: rgb(26, 119, 27);
/* oklch */ color: oklch(49.8% 0.152 143.0);
Tailwind
colors: {
  custom: {
    50: '#689f5e',
    500: '#1a771b',
    950: '#000000',
  },
}
SCSS
$custom: #1a771b;
$custom-light: #689f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a771b",
  "rgb": {
    "r": 26,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 120.645,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.15185,
    "h": 143
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#1A771B
secondary
#AC41AA
accent
#41E5E7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1A771B

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

Preview Lab → · Contrast checker → · Palette generator →

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