#1B873A#1B873A

#1B873A is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.148 H 147.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1B873A
RGBrgb(27, 135, 58)
HSLhsl(137, 67%, 32%)
HSVhsv(137, 80%, 53%)
CMYKcmyk(80%, 0%, 57%, 47.1%)
CIE-LABlab(49.33, -46.52, 32.79)
CIE-LCHlch(49.33, 56.91, 144.82°)
OKLaboklab(54.77% -0.125 0.0784)
OKLCHoklch(54.77% 0.148 147.9)
XYZxyz(9.8789, 17.8653, 6.9299)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B873A #871B68
analogous
#32871B #1B873A #1B8770
triadic
#1B873A #3A1B87 #873A1B
tetradic
#1B873A #1B3287 #871B68 #87701B
square
#1B873A #1B3287 #871B68 #87701B
split-complementary
#1B873A #701B87 #871B32
monochromatic
#07210E #115424 #1B873A #25BA50 #43D96E

Accessibility & contrast

On white

4.59
#1B873A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#1B873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B873A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B873A#FFFFFF#000000##FFFFFF
##1B873A1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A33
Deuteranopia (green-blind)
#7C7240
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b873a;
/* rgb */ color: rgb(27, 135, 58);
/* oklch */ color: oklch(54.8% 0.148 147.9);
Tailwind
colors: {
  custom: {
    50: '#6bab72',
    500: '#1b873a',
    950: '#000000',
  },
}
SCSS
$custom: #1b873a;
$custom-light: #6bab72;
$custom-dark: #000000;
JSON
{
  "hex": "#1b873a",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 137.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.14756,
    "h": 147.9
  },
  "luminance": 0.17866
}

Semantic roles & 50–950 ramp

primary
#1B873A
secondary
#BA4498
accent
#3EB8EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1B873A

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

Preview Lab → · Contrast checker → · Palette generator →

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