#1D9542#1D9542

#1D9542 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.158 H 148.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1D9542
RGBrgb(29, 149, 66)
HSLhsl(139, 67%, 35%)
HSVhsv(139, 81%, 58%)
CMYKcmyk(80.5%, 0%, 55.7%, 41.6%)
CIE-LABlab(54.18, -50.05, 34.59)
CIE-LCHlch(54.18, 60.84, 145.35°)
OKLaboklab(58.83% -0.1344 0.0829)
OKLCHoklch(58.83% 0.158 148.3)
XYZxyz(12.2365, 22.1480, 8.7833)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D9542 #951D70
analogous
#34951D #1D9542 #1D957E
triadic
#1D9542 #421D95 #95421D
tetradic
#1D9542 #1D3495 #951D70 #957E1D
square
#1D9542 #1D3495 #951D70 #957E1D
split-complementary
#1D9542 #7E1D95 #951D34
monochromatic
#092F15 #13622B #1D9542 #27C859 #50DD7B

Accessibility & contrast

On white

3.87
#1D9542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#1D9542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D9542
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D9542#FFFFFF#000000##000000
##1D95421.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96873A
Deuteranopia (green-blind)
#897E48
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1d9542;
/* rgb */ color: rgb(29, 149, 66);
/* oklch */ color: oklch(58.8% 0.158 148.3);
Tailwind
colors: {
  custom: {
    50: '#6fb578',
    500: '#1d9542',
    950: '#000000',
  },
}
SCSS
$custom: #1d9542;
$custom-light: #6fb578;
$custom-dark: #000000;
JSON
{
  "hex": "#1d9542",
  "rgb": {
    "r": 29,
    "g": 149,
    "b": 66
  },
  "hsl": {
    "h": 138.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.15793,
    "h": 148.3
  },
  "luminance": 0.22149
}

Semantic roles & 50–950 ramp

primary
#1D9542
secondary
#C04E9D
accent
#3DB5EA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1D9542

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

Preview Lab → · Contrast checker → · Palette generator →

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