#1D9742#1D9742

#1D9742 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.160 H 148.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1D9742
RGBrgb(29, 151, 66)
HSLhsl(138, 68%, 35%)
HSVhsv(138, 81%, 59%)
CMYKcmyk(80.8%, 0%, 56.3%, 40.8%)
CIE-LABlab(54.85, -50.75, 35.39)
CIE-LCHlch(54.85, 61.87, 145.11°)
OKLaboklab(59.39% -0.1363 0.0846)
OKLCHoklch(59.39% 0.16 148.2)
XYZxyz(12.5557, 22.7862, 8.8897)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D9742 #971D72
analogous
#35971D #1D9742 #1D977F
triadic
#1D9742 #421D97 #97421D
tetradic
#1D9742 #1D3597 #971D72 #977F1D
square
#1D9742 #1D3597 #971D72 #977F1D
split-complementary
#1D9742 #7F1D97 #971D35
monochromatic
#093015 #13642C #1D9742 #27CA58 #51DE7C

Accessibility & contrast

On white

3.78
#1D9742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#1D9742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D9742
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D9742#FFFFFF#000000##000000
##1D97421.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893A
Deuteranopia (green-blind)
#8B8049
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1d9742;
/* rgb */ color: rgb(29, 151, 66);
/* oklch */ color: oklch(59.4% 0.160 148.2);
Tailwind
colors: {
  custom: {
    50: '#6fb779',
    500: '#1d9742',
    950: '#000000',
  },
}
SCSS
$custom: #1d9742;
$custom-light: #6fb779;
$custom-dark: #000000;
JSON
{
  "hex": "#1d9742",
  "rgb": {
    "r": 29,
    "g": 151,
    "b": 66
  },
  "hsl": {
    "h": 138.197,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.16047,
    "h": 148.2
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#1D9742
secondary
#C04F9E
accent
#3DB6EB
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1D9742

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

Preview Lab → · Contrast checker → · Palette generator →

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