#1D7D31#1D7D31

#1D7D31 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.142 H 146.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1D7D31
RGBrgb(29, 125, 49)
HSLhsl(133, 62%, 30%)
HSVhsv(133, 77%, 49%)
CMYKcmyk(76.8%, 0%, 60.8%, 51%)
CIE-LABlab(45.84, -43.88, 33.20)
CIE-LCHlch(45.84, 55.02, 142.89°)
OKLaboklab(51.85% -0.1182 0.0785)
OKLCHoklch(51.85% 0.142 146.4)
XYZxyz(8.3941, 15.1492, 5.3868)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D31 #7D1D69
analogous
#397D1D #1D7D31 #1D7D61
triadic
#1D7D31 #311D7D #7D311D
tetradic
#1D7D31 #1D397D #7D1D69 #7D611D
square
#1D7D31 #1D397D #7D1D69 #7D611D
split-complementary
#1D7D31 #611D7D #7D1D39
monochromatic
#061A0A #114B1E #1D7D31 #29AF44 #41D360

Accessibility & contrast

On white

5.21
#1D7D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1D7D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D31
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D31#FFFFFF#000000##FFFFFF
##1D7D311.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7129
Deuteranopia (green-blind)
#746A37
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7d31;
/* rgb */ color: rgb(29, 125, 49);
/* oklch */ color: oklch(51.8% 0.142 146.4);
Tailwind
colors: {
  custom: {
    50: '#69a46c',
    500: '#1d7d31',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d31;
$custom-light: #69a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d31",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 132.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.14193,
    "h": 146.4
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#1D7D31
secondary
#B1459A
accent
#42C3E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1D7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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