#1D8D42#1D8D42

#1D8D42 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.148 H 149.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1D8D42
RGBrgb(29, 141, 66)
HSLhsl(140, 66%, 33%)
HSVhsv(140, 79%, 55%)
CMYKcmyk(79.4%, 0%, 53.2%, 44.7%)
CIE-LABlab(51.50, -47.18, 31.32)
CIE-LCHlch(51.50, 56.63, 146.42°)
OKLaboklab(56.61% -0.1267 0.0756)
OKLCHoklch(56.61% 0.148 149.2)
XYZxyz(11.0140, 19.7030, 8.3758)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8D42 #8D1D68
analogous
#308D1D #1D8D42 #1D8D7A
triadic
#1D8D42 #421D8D #8D421D
tetradic
#1D8D42 #1D308D #8D1D68 #8D7A1D
square
#1D8D42 #1D308D #8D1D68 #8D7A1D
split-complementary
#1D8D42 #7A1D8D #8D1D30
monochromatic
#082712 #135A2A #1D8D42 #27C05A #4BDA7A

Accessibility & contrast

On white

4.25
#1D8D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#1D8D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8D42
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8D42#FFFFFF#000000##000000
##1D8D421.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803B
Deuteranopia (green-blind)
#817748
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1d8d42;
/* rgb */ color: rgb(29, 141, 66);
/* oklch */ color: oklch(56.6% 0.148 149.2);
Tailwind
colors: {
  custom: {
    50: '#6daf78',
    500: '#1d8d42',
    950: '#000000',
  },
}
SCSS
$custom: #1d8d42;
$custom-light: #6daf78;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8d42",
  "rgb": {
    "r": 29,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 139.821,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5661,
    "c": 0.14759,
    "h": 149.2
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#1D8D42
secondary
#BC4A96
accent
#3FB1E9
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1D8D42

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

Preview Lab → · Contrast checker → · Palette generator →

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