#1D7F40#1D7F40

#1D7F40 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.131 H 150.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1D7F40
RGBrgb(29, 127, 64)
HSLhsl(141, 63%, 31%)
HSVhsv(141, 77%, 50%)
CMYKcmyk(77.2%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.72, -42.29, 26.43)
CIE-LCHlch(46.72, 49.87, 147.99°)
OKLaboklab(52.65% -0.1137 0.0645)
OKLCHoklch(52.65% 0.131 150.4)
XYZxyz(9.0207, 15.8091, 7.4255)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F40 #7F1D5C
analogous
#2B7F1D #1D7F40 #1D7F71
triadic
#1D7F40 #401D7F #7F401D
tetradic
#1D7F40 #1D2B7F #7F1D5C #7F711D
square
#1D7F40 #1D2B7F #7F1D5C #7F711D
split-complementary
#1D7F40 #711D7F #7F1D2B
monochromatic
#061B0E #124D27 #1D7F40 #28B159 #42D476

Accessibility & contrast

On white

5.05
#1D7F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1D7F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7F40
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7F40#FFFFFF#000000##FFFFFF
##1D7F401.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#746C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d7f40;
/* rgb */ color: rgb(29, 127, 64);
/* oklch */ color: oklch(52.6% 0.131 150.4);
Tailwind
colors: {
  custom: {
    50: '#69a576',
    500: '#1d7f40',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f40;
$custom-light: #69a576;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f40",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 141.429,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.13071,
    "h": 150.4
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D7F40

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

Preview Lab → · Contrast checker → · Palette generator →

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