#1B781A#1B781A

#1B781A is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.153 H 142.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1B781A
RGBrgb(27, 120, 26)
HSLhsl(119, 64%, 29%)
HSVhsv(119, 78%, 47%)
CMYKcmyk(77.5%, 0%, 78.3%, 52.9%)
CIE-LABlab(43.86, -44.94, 41.22)
CIE-LCHlch(43.86, 60.98, 137.48°)
OKLaboklab(50.13% -0.122 0.0928)
OKLCHoklch(50.13% 0.153 142.7)
XYZxyz(7.3545, 13.7397, 3.2415)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B781A #771A78
analogous
#4A781A #1B781A #1A7848
triadic
#1B781A #1A1B78 #781A1B
tetradic
#1B781A #1A4A78 #771A78 #78481A
square
#1B781A #1A4A78 #771A78 #78481A
split-complementary
#1B781A #481A78 #781A4A
monochromatic
#061905 #10460F #1B781A #26AA25 #3AD438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B781A#FFFFFF#000000##FFFFFF
##1B781A1.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)
#7B6C06
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b781a;
/* rgb */ color: rgb(27, 120, 26);
/* oklch */ color: oklch(50.1% 0.153 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a05e',
    500: '#1b781a',
    950: '#000000',
  },
}
SCSS
$custom: #1b781a;
$custom-light: #69a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b781a",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 119.362,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.15334,
    "h": 142.7
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#1B781A
secondary
#AB41AC
accent
#40E7E6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1B781A

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

Preview Lab → · Contrast checker → · Palette generator →

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