#1A871A#1A871A

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

Color values

HEX#1A871A
RGBrgb(26, 135, 26)
HSLhsl(120, 68%, 32%)
HSVhsv(120, 81%, 53%)
CMYKcmyk(80.7%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.03, -50.11, 46.26)
CIE-LCHlch(49.03, 68.20, 137.29°)
OKLaboklab(54.43% -0.136 0.1033)
OKLCHoklch(54.43% 0.171 142.8)
XYZxyz(9.2758, 17.6210, 3.8894)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A871A #871A87
analogous
#51871A #1A871A #1A8751
triadic
#1A871A #1A1A87 #871A1A
tetradic
#1A871A #1A5187 #871A87 #87511A
square
#1A871A #1A5187 #871A87 #87511A
split-complementary
#1A871A #511A87 #871A51
monochromatic
#062006 #105410 #1A871A #24BA24 #41DA41

Accessibility & contrast

On white

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

On black

4.52
#1A871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1A871A#FFFFFF#000000##FFFFFF
##1A871A1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.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)
#747474

Design tokens & code

CSS
--color: #1a871a;
/* rgb */ color: rgb(26, 135, 26);
/* oklch */ color: oklch(54.4% 0.171 142.8);
Tailwind
colors: {
  custom: {
    50: '#6cab60',
    500: '#1a871a',
    950: '#000000',
  },
}
SCSS
$custom: #1a871a;
$custom-light: #6cab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1a871a",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 120,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.17082,
    "h": 142.8
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#1A871A
secondary
#BA42BA
accent
#3DEBEB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A871A

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

Preview Lab → · Contrast checker → · Palette generator →

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