#1B8740#1B8740

#1B8740 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.142 H 149.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1B8740
RGBrgb(27, 135, 64)
HSLhsl(141, 67%, 32%)
HSVhsv(141, 80%, 53%)
CMYKcmyk(80%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.41, -45.58, 29.78)
CIE-LCHlch(49.41, 54.45, 146.84°)
OKLaboklab(54.86% -0.1224 0.0721)
OKLCHoklch(54.86% 0.142 149.5)
XYZxyz(10.0405, 17.9299, 7.7811)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8740 #871B62
analogous
#2C871B #1B8740 #1B8776
triadic
#1B8740 #401B87 #87401B
tetradic
#1B8740 #1B2C87 #871B62 #87761B
square
#1B8740 #1B2C87 #871B62 #87761B
split-complementary
#1B8740 #761B87 #871B2C
monochromatic
#072110 #115428 #1B8740 #25BA58 #43D977

Accessibility & contrast

On white

4.58
#1B8740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#1B8740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8740
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8740#FFFFFF#000000##000000
##1B87401.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b8740;
/* rgb */ color: rgb(27, 135, 64);
/* oklch */ color: oklch(54.9% 0.142 149.5);
Tailwind
colors: {
  custom: {
    50: '#6bab76',
    500: '#1b8740',
    950: '#000000',
  },
}
SCSS
$custom: #1b8740;
$custom-light: #6bab76;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8740",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 140.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.14207,
    "h": 149.5
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#1B8740
secondary
#BA4492
accent
#3EAFEA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1B8740

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

Preview Lab → · Contrast checker → · Palette generator →

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