#1D7F2B#1D7F2B

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

Color values

HEX#1D7F2B
RGBrgb(29, 127, 43)
HSLhsl(129, 63%, 31%)
HSVhsv(129, 77%, 50%)
CMYKcmyk(77.2%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.46, -45.37, 36.80)
CIE-LCHlch(46.46, 58.42, 140.95°)
OKLaboklab(52.35% -0.1225 0.0857)
OKLCHoklch(52.35% 0.149 145)
XYZxyz(8.5315, 15.6134, 4.8491)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F2B #7F1D71
analogous
#407F1D #1D7F2B #1D7F5C
triadic
#1D7F2B #2B1D7F #7F2B1D
tetradic
#1D7F2B #1D407F #7F1D71 #7F5C1D
square
#1D7F2B #1D407F #7F1D71 #7F5C1D
split-complementary
#1D7F2B #5C1D7F #7F1D40
monochromatic
#061B09 #124D1A #1D7F2B #28B13C #42D457

Accessibility & contrast

On white

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

On black

4.12
#1D7F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D7F2B#FFFFFF#000000##FFFFFF
##1D7F2B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7f2b;
/* rgb */ color: rgb(29, 127, 43);
/* oklch */ color: oklch(52.3% 0.149 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aa568',
    500: '#1d7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f2b;
$custom-light: #6aa568;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f2b",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 128.571,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52347,
    "c": 0.14949,
    "h": 145
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#1D7F2B
secondary
#B245A3
accent
#42CEE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1D7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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