#1B781D#1B781D

#1B781D is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.152 H 143.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1B781D
RGBrgb(27, 120, 29)
HSLhsl(121, 63%, 29%)
HSVhsv(121, 78%, 47%)
CMYKcmyk(77.5%, 0%, 75.8%, 52.9%)
CIE-LABlab(43.88, -44.69, 40.09)
CIE-LCHlch(43.88, 60.04, 138.11°)
OKLaboklab(50.15% -0.1212 0.0909)
OKLCHoklch(50.15% 0.152 143.1)
XYZxyz(7.3898, 13.7538, 3.4275)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B781D #781B76
analogous
#48781B #1B781D #1B784C
triadic
#1B781D #1D1B78 #781D1B
tetradic
#1B781D #1B4878 #781B76 #784C1B
square
#1B781D #1B4878 #781B76 #784C1B
split-complementary
#1B781D #4C1B78 #781B48
monochromatic
#061906 #104611 #1B781D #26AA29 #3BD33E

Accessibility & contrast

On white

5.60
#1B781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#1B781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B781D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B781D#FFFFFF#000000##FFFFFF
##1B781D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0C
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b781d;
/* rgb */ color: rgb(27, 120, 29);
/* oklch */ color: oklch(50.2% 0.152 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a05f',
    500: '#1b781d',
    950: '#000000',
  },
}
SCSS
$custom: #1b781d;
$custom-light: #68a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b781d",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 121.29,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.15151,
    "h": 143.1
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#1B781D
secondary
#AC43AA
accent
#41E3E6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1B781D

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

Preview Lab → · Contrast checker → · Palette generator →

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