#1B871A#1B871A

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

Color values

HEX#1B871A
RGBrgb(27, 135, 26)
HSLhsl(119, 68%, 32%)
HSVhsv(119, 81%, 53%)
CMYKcmyk(80%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.05, -49.97, 46.28)
CIE-LCHlch(49.05, 68.11, 137.20°)
OKLaboklab(54.45% -0.1357 0.1034)
OKLCHoklch(54.45% 0.171 142.7)
XYZxyz(9.3018, 17.6344, 3.8906)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B871A #861A87
analogous
#52871A #1B871A #1A8750
triadic
#1B871A #1A1B87 #871A1B
tetradic
#1B871A #1A5287 #861A87 #87501A
square
#1B871A #1A5287 #861A87 #87501A
split-complementary
#1B871A #501A87 #871A52
monochromatic
#062006 #115410 #1B871A #25BA24 #42DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B871A#FFFFFF#000000##FFFFFF
##1B871A1.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)
#8A7900
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b871a;
/* rgb */ color: rgb(27, 135, 26);
/* oklch */ color: oklch(54.4% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#6dab60',
    500: '#1b871a',
    950: '#000000',
  },
}
SCSS
$custom: #1b871a;
$custom-light: #6dab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1b871a",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 119.45,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.17058,
    "h": 142.7
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#1B871A
secondary
#B942BA
accent
#3DEBE9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B871A

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

Preview Lab → · Contrast checker → · Palette generator →

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