#1D7E2F#1D7E2F

#1D7E2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.145 H 145.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1D7E2F
RGBrgb(29, 126, 47)
HSLhsl(131, 63%, 30%)
HSVhsv(131, 77%, 49%)
CMYKcmyk(77%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.16, -44.51, 34.55)
CIE-LCHlch(46.16, 56.35, 142.18°)
OKLaboklab(52.11% -0.12 0.0813)
OKLCHoklch(52.11% 0.145 145.9)
XYZxyz(8.4800, 15.3872, 5.2119)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E2F #7E1D6C
analogous
#3B7E1D #1D7E2F #1D7E5F
triadic
#1D7E2F #2F1D7E #7E2F1D
tetradic
#1D7E2F #1D3B7E #7E1D6C #7E5F1D
square
#1D7E2F #1D3B7E #7E1D6C #7E5F1D
split-complementary
#1D7E2F #5F1D7E #7E1D3B
monochromatic
#061B0A #124C1C #1D7E2F #28B042 #42D35D

Accessibility & contrast

On white

5.15
#1D7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1D7E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7E2F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E2F#FFFFFF#000000##FFFFFF
##1D7E2F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7e2f;
/* rgb */ color: rgb(29, 126, 47);
/* oklch */ color: oklch(52.1% 0.145 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aa46a',
    500: '#1d7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e2f;
$custom-light: #6aa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e2f",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 131.134,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.14494,
    "h": 145.9
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#1D7E2F
secondary
#B1459D
accent
#42C7E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1D7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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