#1D7D2D#1D7D2D

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

Color values

HEX#1D7D2D
RGBrgb(29, 125, 45)
HSLhsl(130, 62%, 30%)
HSVhsv(130, 77%, 49%)
CMYKcmyk(76.8%, 0%, 64%, 51%)
CIE-LABlab(45.79, -44.41, 35.10)
CIE-LCHlch(45.79, 56.61, 141.67°)
OKLaboklab(51.8% -0.1198 0.0823)
OKLCHoklch(51.8% 0.145 145.5)
XYZxyz(8.3134, 15.1169, 4.9618)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D2D #7D1D6D
analogous
#3D7D1D #1D7D2D #1D7D5D
triadic
#1D7D2D #2D1D7D #7D2D1D
tetradic
#1D7D2D #1D3D7D #7D1D6D #7D5D1D
square
#1D7D2D #1D3D7D #7D1D6D #7D5D1D
split-complementary
#1D7D2D #5D1D7D #7D1D3D
monochromatic
#061A09 #114B1B #1D7D2D #29AF3F #41D35A

Accessibility & contrast

On white

5.22
#1D7D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1D7D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D2D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D2D#FFFFFF#000000##FFFFFF
##1D7D2D1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d2d;
/* rgb */ color: rgb(29, 125, 45);
/* oklch */ color: oklch(51.8% 0.145 145.5);
Tailwind
colors: {
  custom: {
    50: '#6aa469',
    500: '#1d7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d2d;
$custom-light: #6aa469;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d2d",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 130,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.14533,
    "h": 145.5
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#1D7D2D
secondary
#B1459F
accent
#42CAE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1D7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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