#1B7940#1B7940

#1B7940 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.123 H 151.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1B7940
RGBrgb(27, 121, 64)
HSLhsl(144, 64%, 29%)
HSVhsv(144, 78%, 47%)
CMYKcmyk(77.7%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.63, -40.27, 23.76)
CIE-LCHlch(44.63, 46.75, 149.46°)
OKLaboklab(50.9% -0.1083 0.0584)
OKLCHoklch(50.9% 0.123 151.7)
XYZxyz(8.2141, 14.2770, 7.1723)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7940 #791B54
analogous
#25791B #1B7940 #1B796F
triadic
#1B7940 #401B79 #79401B
tetradic
#1B7940 #1B2579 #791B54 #796F1B
square
#1B7940 #1B2579 #791B54 #796F1B
split-complementary
#1B7940 #6F1B79 #791B25
monochromatic
#06190D #104726 #1B7940 #26AB5A #3BD377

Accessibility & contrast

On white

5.45
#1B7940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1B7940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7940
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7940#FFFFFF#000000##FFFFFF
##1B79401.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7940;
/* rgb */ color: rgb(27, 121, 64);
/* oklch */ color: oklch(50.9% 0.123 151.7);
Tailwind
colors: {
  custom: {
    50: '#67a175',
    500: '#1b7940',
    950: '#000000',
  },
}
SCSS
$custom: #1b7940;
$custom-light: #67a175;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7940",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 143.617,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.12303,
    "h": 151.7
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#1B7940
secondary
#AD4383
accent
#41A5E7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7940

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

Preview Lab → · Contrast checker → · Palette generator →

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