#1D7D1C#1D7D1C

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

Color values

HEX#1D7D1C
RGBrgb(29, 125, 28)
HSLhsl(119, 63%, 30%)
HSVhsv(119, 78%, 49%)
CMYKcmyk(76.8%, 0%, 77.6%, 51%)
CIE-LABlab(45.65, -46.16, 42.27)
CIE-LCHlch(45.65, 62.59, 137.52°)
OKLaboklab(51.63% -0.1253 0.0953)
OKLCHoklch(51.63% 0.157 142.8)
XYZxyz(8.0494, 15.0114, 3.5716)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D1C #7C1C7D
analogous
#4E7D1C #1D7D1C #1C7D4B
triadic
#1D7D1C #1C1D7D #7D1C1D
tetradic
#1D7D1C #1C4E7D #7C1C7D #7D4B1C
square
#1D7D1C #1C4E7D #7C1C7D #7D4B1C
split-complementary
#1D7D1C #4B1C7D #7D1C4E
monochromatic
#061906 #114B11 #1D7D1C #29AF27 #41D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7D1C#FFFFFF#000000##FFFFFF
##1D7D1C1.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)
#807108
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d1c;
/* rgb */ color: rgb(29, 125, 28);
/* oklch */ color: oklch(51.6% 0.157 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa45f',
    500: '#1d7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d1c;
$custom-light: #6aa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d1c",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 119.381,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.15746,
    "h": 142.8
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#1D7D1C
secondary
#B044B1
accent
#41E6E5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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