#1B782F#1B782F

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

Color values

HEX#1B782F
RGBrgb(27, 120, 47)
HSLhsl(133, 63%, 29%)
HSVhsv(133, 78%, 47%)
CMYKcmyk(77.5%, 0%, 60.8%, 52.9%)
CIE-LABlab(44.05, -42.65, 32.09)
CIE-LCHlch(44.05, 53.38, 143.04°)
OKLaboklab(50.35% -0.1149 0.076)
OKLCHoklch(50.35% 0.138 146.5)
XYZxyz(7.6810, 13.8703, 4.9612)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B782F #781B64
analogous
#36781B #1B782F #1B785E
triadic
#1B782F #2F1B78 #782F1B
tetradic
#1B782F #1B3678 #781B64 #785E1B
square
#1B782F #1B3678 #781B64 #785E1B
split-complementary
#1B782F #5E1B78 #781B36
monochromatic
#06190A #10461B #1B782F #26AA43 #3BD35B

Accessibility & contrast

On white

5.56
#1B782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B782F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B782F#FFFFFF#000000##FFFFFF
##1B782F1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b782f;
/* rgb */ color: rgb(27, 120, 47);
/* oklch */ color: oklch(50.3% 0.138 146.5);
Tailwind
colors: {
  custom: {
    50: '#68a06a',
    500: '#1b782f',
    950: '#000000',
  },
}
SCSS
$custom: #1b782f;
$custom-light: #68a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b782f",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 132.903,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.13773,
    "h": 146.5
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#1B782F
secondary
#AC4396
accent
#41C3E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1B782F

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

Preview Lab → · Contrast checker → · Palette generator →

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