#1B874F#1B874F

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

Color values

HEX#1B874F
RGBrgb(27, 135, 79)
HSLhsl(149, 67%, 32%)
HSVhsv(149, 80%, 53%)
CMYKcmyk(80%, 0%, 41.5%, 47.1%)
CIE-LABlab(49.65, -42.85, 21.94)
CIE-LCHlch(49.65, 48.14, 152.89°)
OKLaboklab(55.13% -0.1154 0.0546)
OKLCHoklch(55.13% 0.128 154.7)
XYZxyz(10.5262, 18.1242, 10.3392)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B874F #871B53
analogous
#1D871B #1B874F #1B8785
triadic
#1B874F #4F1B87 #874F1B
tetradic
#1B874F #1B1D87 #871B53 #87851B
square
#1B874F #1B1D87 #871B53 #87851B
split-complementary
#1B874F #851B87 #871B1D
monochromatic
#072113 #115431 #1B874F #25BA6D #43D98B

Accessibility & contrast

On white

4.54
#1B874F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#1B874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B874F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B874F#FFFFFF#000000##000000
##1B874F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b874f;
/* rgb */ color: rgb(27, 135, 79);
/* oklch */ color: oklch(55.1% 0.128 154.7);
Tailwind
colors: {
  custom: {
    50: '#6aab81',
    500: '#1b874f',
    950: '#000000',
  },
}
SCSS
$custom: #1b874f;
$custom-light: #6aab81;
$custom-dark: #000000;
JSON
{
  "hex": "#1b874f",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 148.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55133,
    "c": 0.12767,
    "h": 154.7
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#1B874F
secondary
#BA4481
accent
#3E97EA
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1B874F

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

Preview Lab → · Contrast checker → · Palette generator →

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