#1B873C#1B873C

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

Color values

HEX#1B873C
RGBrgb(27, 135, 60)
HSLhsl(138, 67%, 32%)
HSVhsv(138, 80%, 53%)
CMYKcmyk(80%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.36, -46.22, 31.80)
CIE-LCHlch(49.36, 56.10, 145.47°)
OKLaboklab(54.8% -0.1242 0.0763)
OKLCHoklch(54.8% 0.146 148.4)
XYZxyz(9.9308, 17.8860, 7.2031)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B873C #871B66
analogous
#30871B #1B873C #1B8772
triadic
#1B873C #3C1B87 #873C1B
tetradic
#1B873C #1B3087 #871B66 #87721B
square
#1B873C #1B3087 #871B66 #87721B
split-complementary
#1B873C #721B87 #871B30
monochromatic
#07210F #115425 #1B873C #25BA53 #43D971

Accessibility & contrast

On white

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

On black

4.58
#1B873C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B873C#FFFFFF#000000##FFFFFF
##1B873C1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b873c;
/* rgb */ color: rgb(27, 135, 60);
/* oklch */ color: oklch(54.8% 0.146 148.4);
Tailwind
colors: {
  custom: {
    50: '#6bab74',
    500: '#1b873c',
    950: '#000000',
  },
}
SCSS
$custom: #1b873c;
$custom-light: #6bab74;
$custom-dark: #000000;
JSON
{
  "hex": "#1b873c",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 138.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.548,
    "c": 0.14576,
    "h": 148.4
  },
  "luminance": 0.17887
}

Semantic roles & 50–950 ramp

primary
#1B873C
secondary
#BA4496
accent
#3EB5EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1B873C

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

Preview Lab → · Contrast checker → · Palette generator →

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