#1D7D1B#1D7D1B

#1D7D1B is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.158 H 142.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1D7D1B
RGBrgb(29, 125, 27)
HSLhsl(119, 64%, 30%)
HSVhsv(119, 78%, 49%)
CMYKcmyk(76.8%, 0%, 78.4%, 51%)
CIE-LABlab(45.64, -46.24, 42.63)
CIE-LCHlch(45.64, 62.89, 137.32°)
OKLaboklab(51.63% -0.1256 0.0959)
OKLCHoklch(51.63% 0.158 142.6)
XYZxyz(8.0377, 15.0067, 3.5097)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D1B #7B1B7D
analogous
#4E7D1B #1D7D1B #1B7D4A
triadic
#1D7D1B #1B1D7D #7D1B1D
tetradic
#1D7D1B #1B4E7D #7B1B7D #7D4A1B
square
#1D7D1B #1B4E7D #7B1B7D #7D4A1B
split-complementary
#1D7D1B #4A1B7D #7D1B4E
monochromatic
#061905 #114B10 #1D7D1B #29AF26 #40D53D

Accessibility & contrast

On white

5.25
#1D7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1D7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D1B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D1B#FFFFFF#000000##FFFFFF
##1D7D1B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807105
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d1b;
/* rgb */ color: rgb(29, 125, 27);
/* oklch */ color: oklch(51.6% 0.158 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ba45f',
    500: '#1d7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d1b;
$custom-light: #6ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d1b",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 118.776,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.15804,
    "h": 142.6
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#1D7D1B
secondary
#AF43B1
accent
#40E7E4
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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