#1D7940#1D7940

#1D7940 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.122 H 151.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1D7940
RGBrgb(29, 121, 64)
HSLhsl(143, 61%, 29%)
HSVhsv(143, 76%, 47%)
CMYKcmyk(76%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.67, -39.95, 23.82)
CIE-LCHlch(44.67, 46.51, 149.20°)
OKLaboklab(50.95% -0.1075 0.0585)
OKLCHoklch(50.95% 0.122 151.4)
XYZxyz(8.2688, 14.3052, 7.1749)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7940 #791D56
analogous
#28791D #1D7940 #1D796E
triadic
#1D7940 #401D79 #79401D
tetradic
#1D7940 #1D2879 #791D56 #796E1D
square
#1D7940 #1D2879 #791D56 #796E1D
split-complementary
#1D7940 #6E1D79 #791D28
monochromatic
#06190D #114826 #1D7940 #29AA5A #3FD177

Accessibility & contrast

On white

5.44
#1D7940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1D7940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7940
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7940#FFFFFF#000000##FFFFFF
##1D79401.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#6E6744
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7940;
/* rgb */ color: rgb(29, 121, 64);
/* oklch */ color: oklch(50.9% 0.122 151.4);
Tailwind
colors: {
  custom: {
    50: '#68a175',
    500: '#1d7940',
    950: '#000000',
  },
}
SCSS
$custom: #1d7940;
$custom-light: #68a175;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7940",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 142.826,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.12239,
    "h": 151.4
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#1D7940
secondary
#AD4585
accent
#43A7E4
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1D7940

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

Preview Lab → · Contrast checker → · Palette generator →

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