#1D8D40#1D8D40

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

Color values

HEX#1D8D40
RGBrgb(29, 141, 64)
HSLhsl(139, 66%, 33%)
HSVhsv(139, 79%, 55%)
CMYKcmyk(79.4%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.47, -47.50, 32.32)
CIE-LCHlch(51.47, 57.45, 145.77°)
OKLaboklab(56.58% -0.1276 0.0777)
OKLCHoklch(56.58% 0.149 148.7)
XYZxyz(10.9561, 19.6798, 8.0707)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8D40 #8D1D6A
analogous
#328D1D #1D8D40 #1D8D78
triadic
#1D8D40 #401D8D #8D401D
tetradic
#1D8D40 #1D328D #8D1D6A #8D781D
square
#1D8D40 #1D328D #8D1D6A #8D781D
split-complementary
#1D8D40 #781D8D #8D1D32
monochromatic
#082712 #135A29 #1D8D40 #27C057 #4BDA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D8D40#FFFFFF#000000##000000
##1D8D401.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)
#8E8039
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1d8d40;
/* rgb */ color: rgb(29, 141, 64);
/* oklch */ color: oklch(56.6% 0.149 148.7);
Tailwind
colors: {
  custom: {
    50: '#6daf77',
    500: '#1d8d40',
    950: '#000000',
  },
}
SCSS
$custom: #1d8d40;
$custom-light: #6daf77;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8d40",
  "rgb": {
    "r": 29,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 138.75,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.14942,
    "h": 148.7
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#1D8D40
secondary
#BC4A98
accent
#3FB4E9
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1D8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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