#1A873A#1A873A

#1A873A is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.148 H 148.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1A873A
RGBrgb(26, 135, 58)
HSLhsl(138, 68%, 32%)
HSVhsv(138, 81%, 53%)
CMYKcmyk(80.7%, 0%, 57%, 47.1%)
CIE-LABlab(49.32, -46.65, 32.77)
CIE-LCHlch(49.32, 57.01, 144.92°)
OKLaboklab(54.75% -0.1254 0.0783)
OKLCHoklch(54.75% 0.148 148)
XYZxyz(9.8529, 17.8519, 6.9286)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A873A #871A67
analogous
#30871A #1A873A #1A8771
triadic
#1A873A #3A1A87 #873A1A
tetradic
#1A873A #1A3087 #871A67 #87711A
square
#1A873A #1A3087 #871A67 #87711A
split-complementary
#1A873A #711A87 #871A30
monochromatic
#06200E #105424 #1A873A #24BA50 #41DA6E

Accessibility & contrast

On white

4.59
#1A873A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#1A873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1A873A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A873A#FFFFFF#000000##FFFFFF
##1A873A1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A33
Deuteranopia (green-blind)
#7C7240
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a873a;
/* rgb */ color: rgb(26, 135, 58);
/* oklch */ color: oklch(54.8% 0.148 148.0);
Tailwind
colors: {
  custom: {
    50: '#6bab72',
    500: '#1a873a',
    950: '#000000',
  },
}
SCSS
$custom: #1a873a;
$custom-light: #6bab72;
$custom-dark: #000000;
JSON
{
  "hex": "#1a873a",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 137.615,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.14782,
    "h": 148
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#1A873A
secondary
#BA4297
accent
#3DB8EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1A873A

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

Preview Lab → · Contrast checker → · Palette generator →

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