#1D7E40#1D7E40

#1D7E40 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.129 H 150.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1D7E40
RGBrgb(29, 126, 64)
HSLhsl(142, 63%, 30%)
HSVhsv(142, 77%, 49%)
CMYKcmyk(77%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.38, -41.90, 26.00)
CIE-LCHlch(46.38, 49.31, 148.18°)
OKLaboklab(52.36% -0.1127 0.0635)
OKLCHoklch(52.36% 0.129 150.6)
XYZxyz(8.8922, 15.5520, 7.3827)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E40 #7E1D5B
analogous
#2B7E1D #1D7E40 #1D7E70
triadic
#1D7E40 #401D7E #7E401D
tetradic
#1D7E40 #1D2B7E #7E1D5B #7E701D
square
#1D7E40 #1D2B7E #7E1D5B #7E701D
split-complementary
#1D7E40 #701D7E #7E1D2B
monochromatic
#061B0D #124C27 #1D7E40 #28B059 #42D376

Accessibility & contrast

On white

5.11
#1D7E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1D7E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7E40
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E40#FFFFFF#000000##FFFFFF
##1D7E401.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#736B44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7e40;
/* rgb */ color: rgb(29, 126, 64);
/* oklch */ color: oklch(52.4% 0.129 150.6);
Tailwind
colors: {
  custom: {
    50: '#69a476',
    500: '#1d7e40',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e40;
$custom-light: #69a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e40",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 141.649,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.12934,
    "h": 150.6
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#1D7E40
secondary
#B1458A
accent
#42ABE6
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1D7E40

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

Preview Lab → · Contrast checker → · Palette generator →

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