#1D8542#1D8542

#1D8542 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.137 H 150.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1D8542
RGBrgb(29, 133, 66)
HSLhsl(141, 64%, 32%)
HSVhsv(141, 78%, 52%)
CMYKcmyk(78.2%, 0%, 50.4%, 47.8%)
CIE-LABlab(48.80, -44.22, 27.96)
CIE-LCHlch(48.80, 52.32, 147.70°)
OKLaboklab(54.37% -0.1188 0.0681)
OKLCHoklch(54.37% 0.137 150.2)
XYZxyz(9.8768, 17.4284, 7.9967)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8542 #851D60
analogous
#2C851D #1D8542 #1D8576
triadic
#1D8542 #421D85 #85421D
tetradic
#1D8542 #1D2C85 #851D60 #85761D
square
#1D8542 #1D2C85 #851D60 #85761D
split-complementary
#1D8542 #761D85 #851D2C
monochromatic
#072110 #125329 #1D8542 #28B75B #46D779

Accessibility & contrast

On white

4.68
#1D8542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1D8542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8542
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8542#FFFFFF#000000##FFFFFF
##1D85421.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7A7147
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1d8542;
/* rgb */ color: rgb(29, 133, 66);
/* oklch */ color: oklch(54.4% 0.137 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ba977',
    500: '#1d8542',
    950: '#000000',
  },
}
SCSS
$custom: #1d8542;
$custom-light: #6ba977;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8542",
  "rgb": {
    "r": 29,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 141.346,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.13695,
    "h": 150.2
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#1D8542
secondary
#B8468F
accent
#41ACE7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1D8542

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

Preview Lab → · Contrast checker → · Palette generator →

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