#1A871B#1A871B

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

Color values

HEX#1A871B
RGBrgb(26, 135, 27)
HSLhsl(121, 68%, 32%)
HSVhsv(121, 81%, 53%)
CMYKcmyk(80.7%, 0%, 80%, 47.1%)
CIE-LABlab(49.04, -50.04, 45.93)
CIE-LCHlch(49.04, 67.93, 137.45°)
OKLaboklab(54.43% -0.1358 0.1028)
OKLCHoklch(54.43% 0.17 142.9)
XYZxyz(9.2872, 17.6256, 3.9493)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A871B #871A86
analogous
#50871A #1A871B #1A8752
triadic
#1A871B #1B1A87 #871B1A
tetradic
#1A871B #1A5087 #871A86 #87521A
square
#1A871B #1A5087 #871A86 #87521A
split-complementary
#1A871B #521A87 #871A50
monochromatic
#062006 #105411 #1A871B #24BA25 #41DA42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A871B#FFFFFF#000000##FFFFFF
##1A871B1.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)
#7E7128
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a871b;
/* rgb */ color: rgb(26, 135, 27);
/* oklch */ color: oklch(54.4% 0.170 142.9);
Tailwind
colors: {
  custom: {
    50: '#6cab60',
    500: '#1a871b',
    950: '#000000',
  },
}
SCSS
$custom: #1a871b;
$custom-light: #6cab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1a871b",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 120.55,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54433,
    "c": 0.17031,
    "h": 142.9
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#1A871B
secondary
#BA42B9
accent
#3DE9EB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A871B

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

Preview Lab → · Contrast checker → · Palette generator →

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