#1B782C#1B782C

#1B782C is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.140 H 145.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1B782C
RGBrgb(27, 120, 44)
HSLhsl(131, 63%, 29%)
HSVhsv(131, 78%, 47%)
CMYKcmyk(77.5%, 0%, 63.3%, 52.9%)
CIE-LABlab(44.01, -43.05, 33.54)
CIE-LCHlch(44.01, 54.58, 142.08°)
OKLaboklab(50.31% -0.1161 0.0788)
OKLCHoklch(50.31% 0.14 145.8)
XYZxyz(7.6225, 13.8469, 4.6534)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B782C #781B67
analogous
#39781B #1B782C #1B785B
triadic
#1B782C #2C1B78 #782C1B
tetradic
#1B782C #1B3978 #781B67 #785B1B
square
#1B782C #1B3978 #781B67 #785B1B
split-complementary
#1B782C #5B1B78 #781B39
monochromatic
#061909 #10461A #1B782C #26AA3E #3BD356

Accessibility & contrast

On white

5.57
#1B782C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#1B782C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B782C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B782C#FFFFFF#000000##FFFFFF
##1B782C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C24
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b782c;
/* rgb */ color: rgb(27, 120, 44);
/* oklch */ color: oklch(50.3% 0.140 145.8);
Tailwind
colors: {
  custom: {
    50: '#68a068',
    500: '#1b782c',
    950: '#000000',
  },
}
SCSS
$custom: #1b782c;
$custom-light: #68a068;
$custom-dark: #000000;
JSON
{
  "hex": "#1b782c",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 44
  },
  "hsl": {
    "h": 130.968,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.14032,
    "h": 145.8
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#1B782C
secondary
#AC4399
accent
#41C8E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1B782C

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

Preview Lab → · Contrast checker → · Palette generator →

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