#1D8342#1D8342

#1D8342 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.134 H 150.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1D8342
RGBrgb(29, 131, 66)
HSLhsl(142, 64%, 31%)
HSVhsv(142, 78%, 51%)
CMYKcmyk(77.9%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.12, -43.47, 27.11)
CIE-LCHlch(48.12, 51.22, 148.05°)
OKLaboklab(53.81% -0.1168 0.0661)
OKLCHoklch(53.81% 0.134 150.5)
XYZxyz(9.6055, 16.8860, 7.9063)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8342 #831D5E
analogous
#2B831D #1D8342 #1D8375
triadic
#1D8342 #421D83 #83421D
tetradic
#1D8342 #1D2B83 #831D5E #83751D
square
#1D8342 #1D2B83 #831D5E #83751D
split-complementary
#1D8342 #751D83 #831D2B
monochromatic
#071F10 #125129 #1D8342 #28B55B #45D679

Accessibility & contrast

On white

4.80
#1D8342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1D8342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8342
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8342#FFFFFF#000000##FFFFFF
##1D83421.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773D
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1d8342;
/* rgb */ color: rgb(29, 131, 66);
/* oklch */ color: oklch(53.8% 0.134 150.5);
Tailwind
colors: {
  custom: {
    50: '#6aa877',
    500: '#1d8342',
    950: '#000000',
  },
}
SCSS
$custom: #1d8342;
$custom-light: #6aa877;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8342",
  "rgb": {
    "r": 29,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 141.765,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.13424,
    "h": 150.5
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#1D8342
secondary
#B6468D
accent
#41ABE7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1D8342

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

Preview Lab → · Contrast checker → · Palette generator →

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