#1B781B#1B781B

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

Color values

HEX#1B781B
RGBrgb(27, 120, 27)
HSLhsl(120, 63%, 29%)
HSVhsv(120, 78%, 47%)
CMYKcmyk(77.5%, 0%, 77.5%, 52.9%)
CIE-LABlab(43.86, -44.86, 40.85)
CIE-LCHlch(43.86, 60.67, 137.68°)
OKLaboklab(50.14% -0.1218 0.0922)
OKLCHoklch(50.14% 0.153 142.9)
XYZxyz(7.3658, 13.7442, 3.3014)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B781B #781B78
analogous
#4A781B #1B781B #1B784A
triadic
#1B781B #1B1B78 #781B1B
tetradic
#1B781B #1B4A78 #781B78 #784A1B
square
#1B781B #1B4A78 #781B78 #784A1B
split-complementary
#1B781B #4A1B78 #781B4A
monochromatic
#061906 #104610 #1B781B #26AA26 #3BD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B781B#FFFFFF#000000##FFFFFF
##1B781B1.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)
#7B6C08
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b781b;
/* rgb */ color: rgb(27, 120, 27);
/* oklch */ color: oklch(50.1% 0.153 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a05e',
    500: '#1b781b',
    950: '#000000',
  },
}
SCSS
$custom: #1b781b;
$custom-light: #69a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b781b",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.15274,
    "h": 142.9
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#1B781B
secondary
#AC43AC
accent
#41E6E6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1B781B

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

Preview Lab → · Contrast checker → · Palette generator →

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