#1D7D18#1D7D18

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

Color values

HEX#1D7D18
RGBrgb(29, 125, 24)
HSLhsl(117, 68%, 29%)
HSVhsv(117, 81%, 49%)
CMYKcmyk(76.8%, 0%, 80.8%, 51%)
CIE-LABlab(45.63, -46.46, 43.67)
CIE-LCHlch(45.63, 63.76, 136.78°)
OKLaboklab(51.61% -0.1264 0.0976)
OKLCHoklch(51.61% 0.16 142.3)
XYZxyz(8.0047, 14.9935, 3.3361)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D18 #78187D
analogous
#507D18 #1D7D18 #187D46
triadic
#1D7D18 #181D7D #7D181D
tetradic
#1D7D18 #18507D #78187D #7D4618
square
#1D7D18 #18507D #78187D #7D4618
split-complementary
#1D7D18 #46187D #7D1850
monochromatic
#061A05 #114A0E #1D7D18 #29B022 #3FD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7D18#FFFFFF#000000##FFFFFF
##1D7D181.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)
#807000
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d18;
/* rgb */ color: rgb(29, 125, 24);
/* oklch */ color: oklch(51.6% 0.160 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba45e',
    500: '#1d7d18',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d18;
$custom-light: #6ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d18",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 117.03,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.15968,
    "h": 142.3
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#1D7D18
secondary
#AC3FB2
accent
#3DEBE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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