#1D8540#1D8540

#1D8540 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.139 H 149.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1D8540
RGBrgb(29, 133, 64)
HSLhsl(140, 64%, 32%)
HSVhsv(140, 78%, 52%)
CMYKcmyk(78.2%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.77, -44.56, 28.99)
CIE-LCHlch(48.77, 53.16, 146.95°)
OKLaboklab(54.34% -0.1197 0.0703)
OKLCHoklch(54.34% 0.139 149.6)
XYZxyz(9.8188, 17.4053, 7.6916)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8540 #851D62
analogous
#2E851D #1D8540 #1D8574
triadic
#1D8540 #401D85 #85401D
tetradic
#1D8540 #1D2E85 #851D62 #85741D
square
#1D8540 #1D2E85 #851D62 #85741D
split-complementary
#1D8540 #741D85 #851D2E
monochromatic
#072110 #125328 #1D8540 #28B758 #46D777

Accessibility & contrast

On white

4.69
#1D8540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1D8540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8540
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8540#FFFFFF#000000##FFFFFF
##1D85401.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7A7145
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1d8540;
/* rgb */ color: rgb(29, 133, 64);
/* oklch */ color: oklch(54.3% 0.139 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ba976',
    500: '#1d8540',
    950: '#000000',
  },
}
SCSS
$custom: #1d8540;
$custom-light: #6ba976;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8540",
  "rgb": {
    "r": 29,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 140.192,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54338,
    "c": 0.13885,
    "h": 149.6
  },
  "luminance": 0.17406
}

Semantic roles & 50–950 ramp

primary
#1D8540
secondary
#B84692
accent
#41AFE7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1D8540

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

Preview Lab → · Contrast checker → · Palette generator →

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