#1A871D#1A871D

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

Color values

HEX#1A871D
RGBrgb(26, 135, 29)
HSLhsl(122, 68%, 32%)
HSVhsv(122, 81%, 53%)
CMYKcmyk(80.7%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.05, -49.90, 45.26)
CIE-LCHlch(49.05, 67.36, 137.79°)
OKLaboklab(54.45% -0.1353 0.1017)
OKLCHoklch(54.45% 0.169 143.1)
XYZxyz(9.3111, 17.6352, 4.0754)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A871D #871A84
analogous
#4E871A #1A871D #1A8754
triadic
#1A871D #1D1A87 #871D1A
tetradic
#1A871D #1A4E87 #871A84 #87541A
square
#1A871D #1A4E87 #871A84 #87541A
split-complementary
#1A871D #541A87 #871A4E
monochromatic
#062007 #105412 #1A871D #24BA28 #41DA45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A871D#FFFFFF#000000##FFFFFF
##1A871D1.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)
#8A7904
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a871d;
/* rgb */ color: rgb(26, 135, 29);
/* oklch */ color: oklch(54.4% 0.169 143.1);
Tailwind
colors: {
  custom: {
    50: '#6cab61',
    500: '#1a871d',
    950: '#000000',
  },
}
SCSS
$custom: #1a871d;
$custom-light: #6cab61;
$custom-dark: #000000;
JSON
{
  "hex": "#1a871d",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 121.651,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.16924,
    "h": 143.1
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#1A871D
secondary
#BA42B7
accent
#3DE6EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1A871D

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

Preview Lab → · Contrast checker → · Palette generator →

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