#1B874A#1B874A

#1B874A is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.133 H 152.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1B874A
RGBrgb(27, 135, 74)
HSLhsl(146, 67%, 32%)
HSVhsv(146, 80%, 53%)
CMYKcmyk(80%, 0%, 45.2%, 47.1%)
CIE-LABlab(49.56, -43.82, 24.59)
CIE-LCHlch(49.56, 50.25, 150.70°)
OKLaboklab(55.04% -0.1178 0.0607)
OKLCHoklch(55.04% 0.133 152.8)
XYZxyz(10.3511, 18.0541, 9.4165)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B874A #871B58
analogous
#22871B #1B874A #1B8780
triadic
#1B874A #4A1B87 #874A1B
tetradic
#1B874A #1B2287 #871B58 #87801B
square
#1B874A #1B2287 #871B58 #87801B
split-complementary
#1B874A #801B87 #871B22
monochromatic
#072112 #11542E #1B874A #25BA66 #43D984

Accessibility & contrast

On white

4.55
#1B874A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#1B874A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B874A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B874A#FFFFFF#000000##000000
##1B874A1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B45
Deuteranopia (green-blind)
#7B724E
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b874a;
/* rgb */ color: rgb(27, 135, 74);
/* oklch */ color: oklch(55.0% 0.133 152.8);
Tailwind
colors: {
  custom: {
    50: '#6bab7d',
    500: '#1b874a',
    950: '#000000',
  },
}
SCSS
$custom: #1b874a;
$custom-light: #6bab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b874a",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 146.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55035,
    "c": 0.13252,
    "h": 152.8
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#1B874A
secondary
#BA4487
accent
#3E9FEA
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1B874A

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

Preview Lab → · Contrast checker → · Palette generator →

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