#1D771F#1D771F

#1D771F is a mid, vivid green. Relative luminance 0.136; OKLCH L 49.9% C 0.148 H 143.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1D771F
RGBrgb(29, 119, 31)
HSLhsl(121, 61%, 29%)
HSVhsv(121, 76%, 47%)
CMYKcmyk(75.6%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.58, -43.81, 38.99)
CIE-LCHlch(43.58, 58.65, 138.33°)
OKLaboklab(49.93% -0.1188 0.0889)
OKLCHoklch(49.93% 0.148 143.2)
XYZxyz(7.3504, 13.5530, 3.5247)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D771F #771D75
analogous
#48771D #1D771F #1D774C
triadic
#1D771F #1F1D77 #771F1D
tetradic
#1D771F #1D4877 #771D75 #774C1D
square
#1D771F #1D4877 #771D75 #774C1D
split-complementary
#1D771F #4C1D77 #771D48
monochromatic
#061906 #114612 #1D771F #29A82C #3ED042

Accessibility & contrast

On white

5.66
#1D771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#1D771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D771F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D771F#FFFFFF#000000##FFFFFF
##1D771F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.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: #1d771f;
/* rgb */ color: rgb(29, 119, 31);
/* oklch */ color: oklch(49.9% 0.148 143.2);
Tailwind
colors: {
  custom: {
    50: '#699f60',
    500: '#1d771f',
    950: '#000000',
  },
}
SCSS
$custom: #1d771f;
$custom-light: #699f60;
$custom-dark: #000000;
JSON
{
  "hex": "#1d771f",
  "rgb": {
    "r": 29,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 121.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.14837,
    "h": 143.2
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#1D771F
secondary
#AB45A9
accent
#44E0E4
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1D771F

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

Preview Lab → · Contrast checker → · Palette generator →

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