#1A873B#1A873B

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

Color values

HEX#1A873B
RGBrgb(26, 135, 59)
HSLhsl(138, 68%, 32%)
HSVhsv(138, 81%, 53%)
CMYKcmyk(80.7%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.33, -46.50, 32.27)
CIE-LCHlch(49.33, 56.60, 145.24°)
OKLaboklab(54.77% -0.1249 0.0773)
OKLCHoklch(54.77% 0.147 148.3)
XYZxyz(9.8786, 17.8621, 7.0639)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A873B #871A66
analogous
#30871A #1A873B #1A8772
triadic
#1A873B #3B1A87 #873B1A
tetradic
#1A873B #1A3087 #871A66 #87721A
square
#1A873B #1A3087 #871A66 #87721A
split-complementary
#1A873B #721A87 #871A30
monochromatic
#06200E #105425 #1A873B #24BA51 #41DA6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A873B#FFFFFF#000000##FFFFFF
##1A873B1.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)
#887A34
Deuteranopia (green-blind)
#7C7241
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a873b;
/* rgb */ color: rgb(26, 135, 59);
/* oklch */ color: oklch(54.8% 0.147 148.3);
Tailwind
colors: {
  custom: {
    50: '#6bab73',
    500: '#1a873b',
    950: '#000000',
  },
}
SCSS
$custom: #1a873b;
$custom-light: #6bab73;
$custom-dark: #000000;
JSON
{
  "hex": "#1a873b",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 138.165,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.14692,
    "h": 148.3
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#1A873B
secondary
#BA4296
accent
#3DB6EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1A873B

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

Preview Lab → · Contrast checker → · Palette generator →

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