#1D7D1F#1D7D1F

#1D7D1F is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.156 H 143.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1D7D1F
RGBrgb(29, 125, 31)
HSLhsl(121, 62%, 30%)
HSVhsv(121, 77%, 49%)
CMYKcmyk(76.8%, 0%, 75.2%, 51%)
CIE-LABlab(45.67, -45.91, 41.14)
CIE-LCHlch(45.67, 61.64, 138.13°)
OKLaboklab(51.66% -0.1245 0.0934)
OKLCHoklch(51.66% 0.156 143.1)
XYZxyz(8.0871, 15.0264, 3.7702)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D1F #7D1D7B
analogous
#4B7D1D #1D7D1F #1D7D4F
triadic
#1D7D1F #1F1D7D #7D1F1D
tetradic
#1D7D1F #1D4B7D #7D1D7B #7D4F1D
square
#1D7D1F #1D4B7D #7D1D7B #7D4F1D
split-complementary
#1D7D1F #4F1D7D #7D1D4B
monochromatic
#061A06 #114B13 #1D7D1F #29AF2B #41D344

Accessibility & contrast

On white

5.24
#1D7D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1D7D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D1F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D1F#FFFFFF#000000##FFFFFF
##1D7D1F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d1f;
/* rgb */ color: rgb(29, 125, 31);
/* oklch */ color: oklch(51.7% 0.156 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa461',
    500: '#1d7d1f',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d1f;
$custom-light: #6aa461;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d1f",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 121.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.15562,
    "h": 143.1
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#1D7D1F
secondary
#B145AE
accent
#42E2E5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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