#1A873D#1A873D

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

Color values

HEX#1A873D
RGBrgb(26, 135, 61)
HSLhsl(139, 68%, 32%)
HSVhsv(139, 81%, 53%)
CMYKcmyk(80.7%, 0%, 54.8%, 47.1%)
CIE-LABlab(49.35, -46.20, 31.27)
CIE-LCHlch(49.35, 55.79, 145.90°)
OKLaboklab(54.8% -0.1241 0.0752)
OKLCHoklch(54.8% 0.145 148.8)
XYZxyz(9.9315, 17.8833, 7.3424)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A873D #871A64
analogous
#2E871A #1A873D #1A8774
triadic
#1A873D #3D1A87 #873D1A
tetradic
#1A873D #1A2E87 #871A64 #87741A
square
#1A873D #1A2E87 #871A64 #87741A
split-complementary
#1A873D #741A87 #871A2E
monochromatic
#06200F #105426 #1A873D #24BA54 #41DA72

Accessibility & contrast

On white

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

On black

4.58
#1A873D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1A873D#FFFFFF#000000##FFFFFF
##1A873D1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a873d;
/* rgb */ color: rgb(26, 135, 61);
/* oklch */ color: oklch(54.8% 0.145 148.8);
Tailwind
colors: {
  custom: {
    50: '#6bab74',
    500: '#1a873d',
    950: '#000000',
  },
}
SCSS
$custom: #1a873d;
$custom-light: #6bab74;
$custom-dark: #000000;
JSON
{
  "hex": "#1a873d",
  "rgb": {
    "r": 26,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 139.266,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.14511,
    "h": 148.8
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#1A873D
secondary
#BA4294
accent
#3DB3EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1A873D

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

Preview Lab → · Contrast checker → · Palette generator →

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