#1B783A#1B783A

#1B783A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.128 H 149.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1B783A
RGBrgb(27, 120, 58)
HSLhsl(140, 63%, 29%)
HSVhsv(140, 78%, 47%)
CMYKcmyk(77.5%, 0%, 51.7%, 52.9%)
CIE-LABlab(44.19, -40.95, 26.50)
CIE-LCHlch(44.19, 48.77, 147.09°)
OKLaboklab(50.51% -0.1101 0.0644)
OKLCHoklch(50.51% 0.128 149.7)
XYZxyz(7.9315, 13.9705, 6.2807)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B783A #781B59
analogous
#2B781B #1B783A #1B7869
triadic
#1B783A #3A1B78 #783A1B
tetradic
#1B783A #1B2B78 #781B59 #78691B
square
#1B783A #1B2B78 #781B59 #78691B
split-complementary
#1B783A #691B78 #781B2B
monochromatic
#06190C #104622 #1B783A #26AA52 #3BD36D

Accessibility & contrast

On white

5.53
#1B783A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1B783A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B783A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B783A#FFFFFF#000000##FFFFFF
##1B783A1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D35
Deuteranopia (green-blind)
#6E653E
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b783a;
/* rgb */ color: rgb(27, 120, 58);
/* oklch */ color: oklch(50.5% 0.128 149.7);
Tailwind
colors: {
  custom: {
    50: '#67a071',
    500: '#1b783a',
    950: '#000000',
  },
}
SCSS
$custom: #1b783a;
$custom-light: #67a071;
$custom-dark: #000000;
JSON
{
  "hex": "#1b783a",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 140,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.12752,
    "h": 149.7
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#1B783A
secondary
#AC4389
accent
#41AFE6
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1B783A

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

Preview Lab → · Contrast checker → · Palette generator →

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