#1B871D#1B871D

#1B871D is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.169 H 143.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1B871D
RGBrgb(27, 135, 29)
HSLhsl(121, 67%, 32%)
HSVhsv(121, 80%, 53%)
CMYKcmyk(80%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.07, -49.75, 45.28)
CIE-LCHlch(49.07, 67.27, 137.70°)
OKLaboklab(54.47% -0.135 0.1017)
OKLCHoklch(54.47% 0.169 143)
XYZxyz(9.3371, 17.6486, 4.0766)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B871D #871B85
analogous
#4F871B #1B871D #1B8753
triadic
#1B871D #1D1B87 #871D1B
tetradic
#1B871D #1B4F87 #871B85 #87531B
square
#1B871D #1B4F87 #871B85 #87531B
split-complementary
#1B871D #531B87 #871B4F
monochromatic
#072107 #115412 #1B871D #25BA28 #43D946

Accessibility & contrast

On white

4.64
#1B871D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#1B871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B871D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B871D#FFFFFF#000000##FFFFFF
##1B871D1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A04
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b871d;
/* rgb */ color: rgb(27, 135, 29);
/* oklch */ color: oklch(54.5% 0.169 143.0);
Tailwind
colors: {
  custom: {
    50: '#6cab61',
    500: '#1b871d',
    950: '#000000',
  },
}
SCSS
$custom: #1b871d;
$custom-light: #6cab61;
$custom-dark: #000000;
JSON
{
  "hex": "#1b871d",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 121.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.16899,
    "h": 143
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#1B871D
secondary
#BA44B8
accent
#3EE6EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B871D

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

Preview Lab → · Contrast checker → · Palette generator →

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