#1D873C#1D873C

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

Color values

HEX#1D873C
RGBrgb(29, 135, 60)
HSLhsl(138, 65%, 32%)
HSVhsv(138, 79%, 53%)
CMYKcmyk(78.5%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.39, -45.93, 31.85)
CIE-LCHlch(49.39, 55.89, 145.26°)
OKLaboklab(54.84% -0.1235 0.0764)
OKLCHoklch(54.84% 0.145 148.2)
XYZxyz(9.9855, 17.9142, 7.2056)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D873C #871D68
analogous
#33871D #1D873C #1D8771
triadic
#1D873C #3C1D87 #873C1D
tetradic
#1D873C #1D3387 #871D68 #87711D
square
#1D873C #1D3387 #871D68 #87711D
split-complementary
#1D873C #711D87 #871D33
monochromatic
#07220F #125526 #1D873C #28B952 #47D771

Accessibility & contrast

On white

4.58
#1D873C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #1D873C
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D873C#FFFFFF#000000##000000
##1D873C1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d873c;
/* rgb */ color: rgb(29, 135, 60);
/* oklch */ color: oklch(54.8% 0.145 148.2);
Tailwind
colors: {
  custom: {
    50: '#6bab74',
    500: '#1d873c',
    950: '#000000',
  },
}
SCSS
$custom: #1d873c;
$custom-light: #6bab74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d873c",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 137.547,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.14521,
    "h": 148.2
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#1D873C
secondary
#B94698
accent
#40B7E8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1D873C

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

Preview Lab → · Contrast checker → · Palette generator →

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