#1D7F2D#1D7F2D

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

Color values

HEX#1D7F2D
RGBrgb(29, 127, 45)
HSLhsl(130, 63%, 31%)
HSVhsv(130, 77%, 50%)
CMYKcmyk(77.2%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.48, -45.12, 35.89)
CIE-LCHlch(46.48, 57.65, 141.51°)
OKLaboklab(52.37% -0.1217 0.084)
OKLCHoklch(52.37% 0.148 145.4)
XYZxyz(8.5691, 15.6284, 5.0471)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F2D #7F1D6F
analogous
#3E7F1D #1D7F2D #1D7F5E
triadic
#1D7F2D #2D1D7F #7F2D1D
tetradic
#1D7F2D #1D3E7F #7F1D6F #7F5E1D
square
#1D7F2D #1D3E7F #7F1D6F #7F5E1D
split-complementary
#1D7F2D #5E1D7F #7F1D3E
monochromatic
#061B0A #124D1B #1D7F2D #28B13F #42D45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7F2D#FFFFFF#000000##FFFFFF
##1D7F2D1.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)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7f2d;
/* rgb */ color: rgb(29, 127, 45);
/* oklch */ color: oklch(52.4% 0.148 145.4);
Tailwind
colors: {
  custom: {
    50: '#6aa569',
    500: '#1d7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f2d;
$custom-light: #6aa569;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f2d",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 129.796,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.14788,
    "h": 145.4
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#1D7F2D
secondary
#B245A1
accent
#42CBE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1D7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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