#1D8518#1D8518

#1D8518 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.169 H 142.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1D8518
RGBrgb(29, 133, 24)
HSLhsl(117, 69%, 31%)
HSVhsv(117, 82%, 52%)
CMYKcmyk(78.2%, 0%, 82%, 47.8%)
CIE-LABlab(48.39, -49.14, 46.31)
CIE-LCHlch(48.39, 67.52, 136.70°)
OKLaboklab(53.9% -0.1336 0.1031)
OKLCHoklch(53.9% 0.169 142.3)
XYZxyz(9.0585, 17.1012, 3.6874)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8518 #801885
analogous
#538518 #1D8518 #188549
triadic
#1D8518 #181D85 #85181D
tetradic
#1D8518 #185385 #801885 #854918
square
#1D8518 #185385 #801885 #854918
split-complementary
#1D8518 #491885 #851853
monochromatic
#061D05 #12510F #1D8518 #28B921 #43DC3C

Accessibility & contrast

On white

4.75
#1D8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1D8518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8518
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8518#FFFFFF#000000##FFFFFF
##1D85181.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1d8518;
/* rgb */ color: rgb(29, 133, 24);
/* oklch */ color: oklch(53.9% 0.169 142.3);
Tailwind
colors: {
  custom: {
    50: '#6daa5f',
    500: '#1d8518',
    950: '#000000',
  },
}
SCSS
$custom: #1d8518;
$custom-light: #6daa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8518",
  "rgb": {
    "r": 29,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 117.248,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.16879,
    "h": 142.3
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#1D8518
secondary
#B340B9
accent
#3CECE4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D8518

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

Preview Lab → · Contrast checker → · Palette generator →

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