#1A871C#1A871C

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

Color values

HEX#1A871C
RGBrgb(26, 135, 28)
HSLhsl(121, 68%, 32%)
HSVhsv(121, 81%, 53%)
CMYKcmyk(80.7%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.04, -49.97, 45.60)
CIE-LCHlch(49.04, 67.65, 137.62°)
OKLaboklab(54.44% -0.1355 0.1022)
OKLCHoklch(54.44% 0.17 143)
XYZxyz(9.2990, 17.6303, 4.0113)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A871C #871A85
analogous
#4F871A #1A871C #1A8753
triadic
#1A871C #1C1A87 #871C1A
tetradic
#1A871C #1A4F87 #871A85 #87531A
square
#1A871C #1A4F87 #871A85 #87531A
split-complementary
#1A871C #531A87 #871A4F
monochromatic
#062007 #105411 #1A871C #24BA27 #41DA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A871C#FFFFFF#000000##FFFFFF
##1A871C1.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)
#8A7902
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a871c;
/* rgb */ color: rgb(26, 135, 28);
/* oklch */ color: oklch(54.4% 0.170 143.0);
Tailwind
colors: {
  custom: {
    50: '#6cab61',
    500: '#1a871c',
    950: '#000000',
  },
}
SCSS
$custom: #1a871c;
$custom-light: #6cab61;
$custom-dark: #000000;
JSON
{
  "hex": "#1a871c",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 121.101,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.16978,
    "h": 143
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#1A871C
secondary
#BA42B8
accent
#3DE7EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1A871C

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

Preview Lab → · Contrast checker → · Palette generator →

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