#1D7F2F#1D7F2F

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

Color values

HEX#1D7F2F
RGBrgb(29, 127, 47)
HSLhsl(131, 63%, 31%)
HSVhsv(131, 77%, 50%)
CMYKcmyk(77.2%, 0%, 63%, 50.2%)
CIE-LABlab(46.50, -44.87, 34.95)
CIE-LCHlch(46.50, 56.88, 142.09°)
OKLaboklab(52.4% -0.121 0.0821)
OKLCHoklch(52.4% 0.146 145.8)
XYZxyz(8.6085, 15.6442, 5.2547)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F2F #7F1D6D
analogous
#3C7F1D #1D7F2F #1D7F60
triadic
#1D7F2F #2F1D7F #7F2F1D
tetradic
#1D7F2F #1D3C7F #7F1D6D #7F601D
square
#1D7F2F #1D3C7F #7F1D6D #7F601D
split-complementary
#1D7F2F #601D7F #7F1D3C
monochromatic
#061B0A #124D1D #1D7F2F #28B141 #42D45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7F2F#FFFFFF#000000##FFFFFF
##1D7F2F1.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)
#817326
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7f2f;
/* rgb */ color: rgb(29, 127, 47);
/* oklch */ color: oklch(52.4% 0.146 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa56a',
    500: '#1d7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f2f;
$custom-light: #6aa56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f2f",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 131.02,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.14623,
    "h": 145.8
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#1D7F2F
secondary
#B2459E
accent
#42C8E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1D7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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