#1B771D#1B771D

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

Color values

HEX#1B771D
RGBrgb(27, 119, 29)
HSLhsl(121, 63%, 29%)
HSVhsv(121, 77%, 47%)
CMYKcmyk(77.3%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.53, -44.34, 39.73)
CIE-LCHlch(43.53, 59.54, 138.14°)
OKLaboklab(49.86% -0.1203 0.0901)
OKLCHoklch(49.86% 0.15 143.1)
XYZxyz(7.2701, 13.5145, 3.3876)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B771D #771B75
analogous
#47771B #1B771D #1B774B
triadic
#1B771D #1D1B77 #771D1B
tetradic
#1B771D #1B4777 #771B75 #774B1B
square
#1B771D #1B4777 #771B75 #774B1B
split-complementary
#1B771D #4B1B77 #771B47
monochromatic
#061906 #104511 #1B771D #26A929 #3AD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b771d;
/* rgb */ color: rgb(27, 119, 29);
/* oklch */ color: oklch(49.9% 0.150 143.1);
Tailwind
colors: {
  custom: {
    50: '#689f5f',
    500: '#1b771d',
    950: '#000000',
  },
}
SCSS
$custom: #1b771d;
$custom-light: #689f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b771d",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 121.304,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49862,
    "c": 0.15031,
    "h": 143.1
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#1B771D
secondary
#AB42A9
accent
#42E2E6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1B771D

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

Preview Lab → · Contrast checker → · Palette generator →

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