#1D7D2A#1D7D2A

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

Color values

HEX#1D7D2A
RGBrgb(29, 125, 42)
HSLhsl(128, 62%, 30%)
HSVhsv(128, 77%, 49%)
CMYKcmyk(76.8%, 0%, 66.4%, 51%)
CIE-LABlab(45.76, -44.77, 36.49)
CIE-LCHlch(45.76, 57.76, 140.82°)
OKLaboklab(51.76% -0.1209 0.0849)
OKLCHoklch(51.76% 0.148 144.9)
XYZxyz(8.2577, 15.0947, 4.6684)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D2A #7D1D70
analogous
#407D1D #1D7D2A #1D7D5A
triadic
#1D7D2A #2A1D7D #7D2A1D
tetradic
#1D7D2A #1D407D #7D1D70 #7D5A1D
square
#1D7D2A #1D407D #7D1D70 #7D5A1D
split-complementary
#1D7D2A #5A1D7D #7D1D40
monochromatic
#061A09 #114B19 #1D7D2A #29AF3B #41D355

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7D2A#FFFFFF#000000##FFFFFF
##1D7D2A1.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)
#7F7120
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d2a;
/* rgb */ color: rgb(29, 125, 42);
/* oklch */ color: oklch(51.8% 0.148 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa467',
    500: '#1d7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d2a;
$custom-light: #6aa467;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d2a",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 128.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.14775,
    "h": 144.9
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#1D7D2A
secondary
#B145A2
accent
#42CFE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1D7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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