#1D7E1E#1D7E1E

#1D7E1E is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.157 H 143.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1D7E1E
RGBrgb(29, 126, 30)
HSLhsl(121, 63%, 30%)
HSVhsv(121, 77%, 49%)
CMYKcmyk(77%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.01, -46.34, 41.88)
CIE-LCHlch(46.01, 62.45, 137.90°)
OKLaboklab(51.94% -0.1257 0.0948)
OKLCHoklch(51.94% 0.157 143)
XYZxyz(8.2014, 15.2757, 3.7443)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E1E #7E1D7D
analogous
#4C7E1D #1D7E1E #1D7E4F
triadic
#1D7E1E #1E1D7E #7E1E1D
tetradic
#1D7E1E #1D4C7E #7E1D7D #7E4F1D
square
#1D7E1E #1D4C7E #7E1D7D #7E4F1D
split-complementary
#1D7E1E #4F1D7E #7E1D4C
monochromatic
#061B06 #124C12 #1D7E1E #28B02A #42D343

Accessibility & contrast

On white

5.18
#1D7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1D7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7E1E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E1E#FFFFFF#000000##FFFFFF
##1D7E1E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7e1e;
/* rgb */ color: rgb(29, 126, 30);
/* oklch */ color: oklch(51.9% 0.157 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ba461',
    500: '#1d7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e1e;
$custom-light: #6ba461;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e1e",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 120.619,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51936,
    "c": 0.15743,
    "h": 143
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

primary
#1D7E1E
secondary
#B145B0
accent
#42E4E6
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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