#1A873C#1A873C

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

Color values

HEX#1A873C
RGBrgb(26, 135, 60)
HSLhsl(139, 68%, 32%)
HSVhsv(139, 81%, 53%)
CMYKcmyk(80.7%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.34, -46.35, 31.77)
CIE-LCHlch(49.34, 56.20, 145.57°)
OKLaboklab(54.78% -0.1245 0.0763)
OKLCHoklch(54.78% 0.146 148.5)
XYZxyz(9.9048, 17.8726, 7.2018)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A873C #871A65
analogous
#2E871A #1A873C #1A8773
triadic
#1A873C #3C1A87 #873C1A
tetradic
#1A873C #1A2E87 #871A65 #87731A
square
#1A873C #1A2E87 #871A65 #87731A
split-complementary
#1A873C #731A87 #871A2E
monochromatic
#06200E #105425 #1A873C #24BA53 #41DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A873C#FFFFFF#000000##FFFFFF
##1A873C1.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)
#887A35
Deuteranopia (green-blind)
#7C7242
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1a873c;
/* rgb */ color: rgb(26, 135, 60);
/* oklch */ color: oklch(54.8% 0.146 148.5);
Tailwind
colors: {
  custom: {
    50: '#6bab74',
    500: '#1a873c',
    950: '#000000',
  },
}
SCSS
$custom: #1a873c;
$custom-light: #6bab74;
$custom-dark: #000000;
JSON
{
  "hex": "#1a873c",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 138.716,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.14602,
    "h": 148.5
  },
  "luminance": 0.17874
}

Semantic roles & 50–950 ramp

primary
#1A873C
secondary
#BA4295
accent
#3DB5EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1A873C

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

Preview Lab → · Contrast checker → · Palette generator →

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