#1D873F#1D873F

#1D873F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.142 H 149.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1D873F
RGBrgb(29, 135, 63)
HSLhsl(139, 65%, 32%)
HSVhsv(139, 79%, 53%)
CMYKcmyk(78.5%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.43, -45.46, 30.34)
CIE-LCHlch(49.43, 54.66, 146.28°)
OKLaboklab(54.88% -0.1222 0.0733)
OKLCHoklch(54.88% 0.142 149.1)
XYZxyz(10.0671, 17.9468, 7.6352)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D873F #871D65
analogous
#30871D #1D873F #1D8774
triadic
#1D873F #3F1D87 #873F1D
tetradic
#1D873F #1D3087 #871D65 #87741D
square
#1D873F #1D3087 #871D65 #87741D
split-complementary
#1D873F #741D87 #871D30
monochromatic
#072210 #125527 #1D873F #28B957 #47D775

Accessibility & contrast

On white

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

On black

4.59
#1D873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D873F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D873F#FFFFFF#000000##000000
##1D873F1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d873f;
/* rgb */ color: rgb(29, 135, 63);
/* oklch */ color: oklch(54.9% 0.142 149.1);
Tailwind
colors: {
  custom: {
    50: '#6bab76',
    500: '#1d873f',
    950: '#000000',
  },
}
SCSS
$custom: #1d873f;
$custom-light: #6bab76;
$custom-dark: #000000;
JSON
{
  "hex": "#1d873f",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 139.245,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.14246,
    "h": 149.1
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#1D873F
secondary
#B94695
accent
#40B2E8
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1D873F

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

Preview Lab → · Contrast checker → · Palette generator →

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