#1D7518#1D7518

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

Color values

HEX#1D7518
RGBrgb(29, 117, 24)
HSLhsl(117, 66%, 28%)
HSVhsv(117, 79%, 46%)
CMYKcmyk(75.2%, 0%, 79.5%, 54.1%)
CIE-LABlab(42.84, -43.70, 40.96)
CIE-LCHlch(42.84, 59.89, 136.86°)
OKLaboklab(49.29% -0.1189 0.092)
OKLCHoklch(49.29% 0.15 142.3)
XYZxyz(7.0324, 13.0490, 3.0121)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7518 #701875
analogous
#4C7518 #1D7518 #187541
triadic
#1D7518 #181D75 #75181D
tetradic
#1D7518 #184C75 #701875 #754118
square
#1D7518 #184C75 #701875 #754118
split-complementary
#1D7518 #411875 #75184C
monochromatic
#061905 #10420E #1D7518 #2AA822 #3BD532

Accessibility & contrast

On white

5.82
#1D7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1D7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7518
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7518#FFFFFF#000000##FFFFFF
##1D75181.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1d7518;
/* rgb */ color: rgb(29, 117, 24);
/* oklch */ color: oklch(49.3% 0.150 142.3);
Tailwind
colors: {
  custom: {
    50: '#699e5c',
    500: '#1d7518',
    950: '#000000',
  },
}
SCSS
$custom: #1d7518;
$custom-light: #699e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7518",
  "rgb": {
    "r": 29,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 116.774,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.15031,
    "h": 142.3
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#1D7518
secondary
#A43FAA
accent
#3FE9E0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7518

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

Preview Lab → · Contrast checker → · Palette generator →

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