#1D771B#1D771B

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

Color values

HEX#1D771B
RGBrgb(29, 119, 27)
HSLhsl(119, 63%, 29%)
HSVhsv(119, 77%, 47%)
CMYKcmyk(75.6%, 0%, 77.3%, 53.3%)
CIE-LABlab(43.56, -44.16, 40.55)
CIE-LCHlch(43.56, 59.96, 137.44°)
OKLaboklab(49.89% -0.12 0.0916)
OKLCHoklch(49.89% 0.151 142.7)
XYZxyz(7.3009, 13.5332, 3.2641)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D771B #751B77
analogous
#4B771B #1D771B #1B7747
triadic
#1D771B #1B1D77 #771B1D
tetradic
#1D771B #1B4B77 #751B77 #77471B
square
#1D771B #1B4B77 #751B77 #77471B
split-complementary
#1D771B #471B77 #771B4B
monochromatic
#061906 #114510 #1D771B #29A926 #3DD23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D771B#FFFFFF#000000##FFFFFF
##1D771B1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#706425
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1d771b;
/* rgb */ color: rgb(29, 119, 27);
/* oklch */ color: oklch(49.9% 0.151 142.7);
Tailwind
colors: {
  custom: {
    50: '#699f5e',
    500: '#1d771b',
    950: '#000000',
  },
}
SCSS
$custom: #1d771b;
$custom-light: #699f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d771b",
  "rgb": {
    "r": 29,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 118.696,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.15094,
    "h": 142.7
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#1D771B
secondary
#A942AB
accent
#42E6E2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1D771B

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

Preview Lab → · Contrast checker → · Palette generator →

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