#1B874D#1B874D

#1B874D is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.130 H 153.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1B874D
RGBrgb(27, 135, 77)
HSLhsl(148, 67%, 32%)
HSVhsv(148, 80%, 53%)
CMYKcmyk(80%, 0%, 43%, 47.1%)
CIE-LABlab(49.61, -43.24, 23.00)
CIE-LCHlch(49.61, 48.98, 151.99°)
OKLaboklab(55.09% -0.1164 0.0571)
OKLCHoklch(55.09% 0.13 153.9)
XYZxyz(10.4545, 18.0955, 9.9615)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B874D #871B55
analogous
#1F871B #1B874D #1B8783
triadic
#1B874D #4D1B87 #874D1B
tetradic
#1B874D #1B1F87 #871B55 #87831B
square
#1B874D #1B1F87 #871B55 #87831B
split-complementary
#1B874D #831B87 #871B1F
monochromatic
#072113 #115430 #1B874D #25BA6A #43D989

Accessibility & contrast

On white

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

On black

4.62
#1B874D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B874D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B874D#FFFFFF#000000##000000
##1B874D1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B49
Deuteranopia (green-blind)
#7A7251
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1b874d;
/* rgb */ color: rgb(27, 135, 77);
/* oklch */ color: oklch(55.1% 0.130 153.9);
Tailwind
colors: {
  custom: {
    50: '#6aab7f',
    500: '#1b874d',
    950: '#000000',
  },
}
SCSS
$custom: #1b874d;
$custom-light: #6aab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b874d",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 77
  },
  "hsl": {
    "h": 147.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55093,
    "c": 0.12961,
    "h": 153.9
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#1B874D
secondary
#BA4483
accent
#3E9AEA
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1B874D

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

Preview Lab → · Contrast checker → · Palette generator →

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