#1B874E#1B874E

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

Color values

HEX#1B874E
RGBrgb(27, 135, 78)
HSLhsl(148, 67%, 32%)
HSVhsv(148, 80%, 53%)
CMYKcmyk(80%, 0%, 42.2%, 47.1%)
CIE-LABlab(49.63, -43.05, 22.47)
CIE-LCHlch(49.63, 48.56, 152.43°)
OKLaboklab(55.11% -0.1159 0.0558)
OKLCHoklch(55.11% 0.129 154.3)
XYZxyz(10.4901, 18.1097, 10.1489)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B874E #871B54
analogous
#1E871B #1B874E #1B8784
triadic
#1B874E #4E1B87 #874E1B
tetradic
#1B874E #1B1E87 #871B54 #87841B
square
#1B874E #1B1E87 #871B54 #87841B
split-complementary
#1B874E #841B87 #871B1E
monochromatic
#072113 #115431 #1B874E #25BA6B #43D98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B874E#FFFFFF#000000##000000
##1B874E1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b874e;
/* rgb */ color: rgb(27, 135, 78);
/* oklch */ color: oklch(55.1% 0.129 154.3);
Tailwind
colors: {
  custom: {
    50: '#6aab80',
    500: '#1b874e',
    950: '#000000',
  },
}
SCSS
$custom: #1b874e;
$custom-light: #6aab80;
$custom-dark: #000000;
JSON
{
  "hex": "#1b874e",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 148.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55113,
    "c": 0.12865,
    "h": 154.3
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#1B874E
secondary
#BA4482
accent
#3E99EA
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1B874E

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

Preview Lab → · Contrast checker → · Palette generator →

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