#1D7D42#1D7D42

#1D7D42 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.126 H 151.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1D7D42
RGBrgb(29, 125, 66)
HSLhsl(143, 62%, 30%)
HSVhsv(143, 77%, 49%)
CMYKcmyk(76.8%, 0%, 47.2%, 51%)
CIE-LABlab(46.07, -41.15, 24.51)
CIE-LCHlch(46.07, 47.90, 149.23°)
OKLaboklab(52.12% -0.1107 0.0602)
OKLCHoklch(52.12% 0.126 151.5)
XYZxyz(8.8229, 15.3208, 7.6454)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D42 #7D1D58
analogous
#287D1D #1D7D42 #1D7D72
triadic
#1D7D42 #421D7D #7D421D
tetradic
#1D7D42 #1D287D #7D1D58 #7D721D
square
#1D7D42 #1D287D #7D1D58 #7D721D
split-complementary
#1D7D42 #721D7D #7D1D28
monochromatic
#061A0E #114B28 #1D7D42 #29AF5C #41D37A

Accessibility & contrast

On white

5.17
#1D7D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1D7D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D42
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D42#FFFFFF#000000##FFFFFF
##1D7D421.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723D
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7d42;
/* rgb */ color: rgb(29, 125, 66);
/* oklch */ color: oklch(52.1% 0.126 151.5);
Tailwind
colors: {
  custom: {
    50: '#69a477',
    500: '#1d7d42',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d42;
$custom-light: #69a477;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d42",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 143.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.126,
    "h": 151.5
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#1D7D42
secondary
#B14587
accent
#42A7E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1D7D42

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

Preview Lab → · Contrast checker → · Palette generator →

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