#1D7A1F#1D7A1F

#1D7A1F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.152 H 143.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1D7A1F
RGBrgb(29, 122, 31)
HSLhsl(121, 62%, 30%)
HSVhsv(121, 76%, 48%)
CMYKcmyk(76.2%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.63, -44.86, 40.07)
CIE-LCHlch(44.63, 60.15, 138.23°)
OKLaboklab(50.79% -0.1217 0.0911)
OKLCHoklch(50.79% 0.152 143.2)
XYZxyz(7.7131, 14.2783, 3.6456)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7A1F #7A1D78
analogous
#4A7A1D #1D7A1F #1D7A4D
triadic
#1D7A1F #1F1D7A #7A1F1D
tetradic
#1D7A1F #1D4A7A #7A1D78 #7A4D1D
square
#1D7A1F #1D4A7A #7A1D78 #7A4D1D
split-complementary
#1D7A1F #4D1D7A #7A1D4A
monochromatic
#061906 #114912 #1D7A1F #29AB2C #40D243

Accessibility & contrast

On white

5.45
#1D7A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1D7A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7A1F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7A1F#FFFFFF#000000##FFFFFF
##1D7A1F1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7a1f;
/* rgb */ color: rgb(29, 122, 31);
/* oklch */ color: oklch(50.8% 0.152 143.2);
Tailwind
colors: {
  custom: {
    50: '#6aa161',
    500: '#1d7a1f',
    950: '#000000',
  },
}
SCSS
$custom: #1d7a1f;
$custom-light: #6aa161;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7a1f",
  "rgb": {
    "r": 29,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 121.29,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.15202,
    "h": 143.2
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#1D7A1F
secondary
#AE45AB
accent
#43E1E5
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1D7A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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