#1B781E#1B781E

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

Color values

HEX#1B781E
RGBrgb(27, 120, 30)
HSLhsl(122, 63%, 29%)
HSVhsv(122, 78%, 47%)
CMYKcmyk(77.5%, 0%, 75%, 52.9%)
CIE-LABlab(43.88, -44.60, 39.70)
CIE-LCHlch(43.88, 59.71, 138.33°)
OKLaboklab(50.16% -0.1209 0.0902)
OKLCHoklch(50.16% 0.151 143.3)
XYZxyz(7.4023, 13.7588, 3.4936)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B781E #781B75
analogous
#47781B #1B781E #1B784D
triadic
#1B781E #1E1B78 #781E1B
tetradic
#1B781E #1B4778 #781B75 #784D1B
square
#1B781E #1B4778 #781B75 #784D1B
split-complementary
#1B781E #4D1B78 #781B47
monochromatic
#061906 #104612 #1B781E #26AA2A #3BD340

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B781E#FFFFFF#000000##FFFFFF
##1B781E1.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)
#7B6C0E
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b781e;
/* rgb */ color: rgb(27, 120, 30);
/* oklch */ color: oklch(50.2% 0.151 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a060',
    500: '#1b781e',
    950: '#000000',
  },
}
SCSS
$custom: #1b781e;
$custom-light: #68a060;
$custom-dark: #000000;
JSON
{
  "hex": "#1b781e",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 121.935,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5016,
    "c": 0.15086,
    "h": 143.3
  },
  "luminance": 0.1376
}

Semantic roles & 50–950 ramp

primary
#1B781E
secondary
#AC43A9
accent
#41E1E6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1B781E

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

Preview Lab → · Contrast checker → · Palette generator →

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