#1D8418#1D8418

#1D8418 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.168 H 142.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1D8418
RGBrgb(29, 132, 24)
HSLhsl(117, 69%, 31%)
HSVhsv(117, 82%, 52%)
CMYKcmyk(78%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.04, -48.81, 45.98)
CIE-LCHlch(48.04, 67.06, 136.71°)
OKLaboklab(53.62% -0.1327 0.1025)
OKLCHoklch(53.62% 0.168 142.3)
XYZxyz(8.9223, 16.8287, 3.6420)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8418 #7F1884
analogous
#538418 #1D8418 #188449
triadic
#1D8418 #181D84 #84181D
tetradic
#1D8418 #185384 #7F1884 #844918
square
#1D8418 #185384 #7F1884 #844918
split-complementary
#1D8418 #491884 #841853
monochromatic
#061C05 #12500F #1D8418 #28B821 #42DB3B

Accessibility & contrast

On white

4.81
#1D8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1D8418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8418
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8418#FFFFFF#000000##FFFFFF
##1D84181.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1d8418;
/* rgb */ color: rgb(29, 132, 24);
/* oklch */ color: oklch(53.6% 0.168 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca95f',
    500: '#1d8418',
    950: '#000000',
  },
}
SCSS
$custom: #1d8418;
$custom-light: #6ca95f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8418",
  "rgb": {
    "r": 29,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 117.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.16766,
    "h": 142.3
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D8418

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

Preview Lab → · Contrast checker → · Palette generator →

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