#1B8742#1B8742

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

Color values

HEX#1B8742
RGBrgb(27, 135, 66)
HSLhsl(142, 67%, 32%)
HSVhsv(142, 80%, 53%)
CMYKcmyk(80%, 0%, 51.1%, 47.1%)
CIE-LABlab(49.44, -45.25, 28.76)
CIE-LCHlch(49.44, 53.62, 147.56°)
OKLaboklab(54.89% -0.1215 0.0699)
OKLCHoklch(54.89% 0.14 150.1)
XYZxyz(10.0985, 17.9531, 8.0863)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8742 #871B60
analogous
#2A871B #1B8742 #1B8778
triadic
#1B8742 #421B87 #87421B
tetradic
#1B8742 #1B2A87 #871B60 #87781B
square
#1B8742 #1B2A87 #871B60 #87781B
split-complementary
#1B8742 #781B87 #871B2A
monochromatic
#072110 #115429 #1B8742 #25BA5B #43D979

Accessibility & contrast

On white

4.57
#1B8742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B8742#FFFFFF#000000##000000
##1B87421.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3C
Deuteranopia (green-blind)
#7C7247
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b8742;
/* rgb */ color: rgb(27, 135, 66);
/* oklch */ color: oklch(54.9% 0.140 150.1);
Tailwind
colors: {
  custom: {
    50: '#6bab78',
    500: '#1b8742',
    950: '#000000',
  },
}
SCSS
$custom: #1b8742;
$custom-light: #6bab78;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8742",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 66
  },
  "hsl": {
    "h": 141.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54894,
    "c": 0.14019,
    "h": 150.1
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#1B8742
secondary
#BA448F
accent
#3EACEA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1B8742

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

Preview Lab → · Contrast checker → · Palette generator →

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