#1B782E#1B782E

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

Color values

HEX#1B782E
RGBrgb(27, 120, 46)
HSLhsl(132, 63%, 29%)
HSVhsv(132, 78%, 47%)
CMYKcmyk(77.5%, 0%, 61.7%, 52.9%)
CIE-LABlab(44.03, -42.79, 32.58)
CIE-LCHlch(44.03, 53.78, 142.71°)
OKLaboklab(50.33% -0.1153 0.077)
OKLCHoklch(50.33% 0.139 146.3)
XYZxyz(7.6610, 13.8623, 4.8562)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B782E #781B65
analogous
#37781B #1B782E #1B785D
triadic
#1B782E #2E1B78 #782E1B
tetradic
#1B782E #1B3778 #781B65 #785D1B
square
#1B782E #1B3778 #781B65 #785D1B
split-complementary
#1B782E #5D1B78 #781B37
monochromatic
#06190A #10461B #1B782E #26AA41 #3BD35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B782E#FFFFFF#000000##FFFFFF
##1B782E1.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)
#7A6D26
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b782e;
/* rgb */ color: rgb(27, 120, 46);
/* oklch */ color: oklch(50.3% 0.139 146.3);
Tailwind
colors: {
  custom: {
    50: '#68a069',
    500: '#1b782e',
    950: '#000000',
  },
}
SCSS
$custom: #1b782e;
$custom-light: #68a069;
$custom-dark: #000000;
JSON
{
  "hex": "#1b782e",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 132.258,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50333,
    "c": 0.13861,
    "h": 146.3
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#1B782E
secondary
#AC4397
accent
#41C5E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1B782E

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

Preview Lab → · Contrast checker → · Palette generator →

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