#1B771E#1B771E

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

Color values

HEX#1B771E
RGBrgb(27, 119, 30)
HSLhsl(122, 63%, 29%)
HSVhsv(122, 77%, 47%)
CMYKcmyk(77.3%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.54, -44.25, 39.34)
CIE-LCHlch(43.54, 59.21, 138.37°)
OKLaboklab(49.87% -0.12 0.0895)
OKLCHoklch(49.87% 0.15 143.3)
XYZxyz(7.2827, 13.5196, 3.4538)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B771E #771B74
analogous
#46771B #1B771E #1B774C
triadic
#1B771E #1E1B77 #771E1B
tetradic
#1B771E #1B4677 #771B74 #774C1B
square
#1B771E #1B4677 #771B74 #774C1B
split-complementary
#1B771E #4C1B77 #771B46
monochromatic
#061906 #104511 #1B771E #26A92B #3AD23F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B771E#FFFFFF#000000##FFFFFF
##1B771E1.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)
#7A6B0F
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1b771e;
/* rgb */ color: rgb(27, 119, 30);
/* oklch */ color: oklch(49.9% 0.150 143.3);
Tailwind
colors: {
  custom: {
    50: '#689f60',
    500: '#1b771e',
    950: '#000000',
  },
}
SCSS
$custom: #1b771e;
$custom-light: #689f60;
$custom-dark: #000000;
JSON
{
  "hex": "#1b771e",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 121.957,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.14966,
    "h": 143.3
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#1B771E
secondary
#AB42A8
accent
#42E1E6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1B771E

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

Preview Lab → · Contrast checker → · Palette generator →

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