#1D7F2E#1D7F2E

#1D7F2E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.147 H 145.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1D7F2E
RGBrgb(29, 127, 46)
HSLhsl(130, 63%, 31%)
HSVhsv(130, 77%, 50%)
CMYKcmyk(77.2%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.49, -45.00, 35.42)
CIE-LCHlch(46.49, 57.27, 141.79°)
OKLaboklab(52.38% -0.1214 0.0831)
OKLCHoklch(52.38% 0.147 145.6)
XYZxyz(8.5886, 15.6362, 5.1497)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F2E #7F1D6E
analogous
#3D7F1D #1D7F2E #1D7F5F
triadic
#1D7F2E #2E1D7F #7F2E1D
tetradic
#1D7F2E #1D3D7F #7F1D6E #7F5F1D
square
#1D7F2E #1D3D7F #7F1D6E #7F5F1D
split-complementary
#1D7F2E #5F1D7F #7F1D3D
monochromatic
#061B0A #124D1C #1D7F2E #28B140 #42D45C

Accessibility & contrast

On white

5.09
#1D7F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1D7F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7F2E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7F2E#FFFFFF#000000##FFFFFF
##1D7F2E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7f2e;
/* rgb */ color: rgb(29, 127, 46);
/* oklch */ color: oklch(52.4% 0.147 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa56a',
    500: '#1d7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f2e;
$custom-light: #6aa56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f2e",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 130.408,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.14706,
    "h": 145.6
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#1D7F2E
secondary
#B2459F
accent
#42C9E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1D7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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