#1D8D18#1D8D18

#1D8D18 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.178 H 142.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1D8D18
RGBrgb(29, 141, 24)
HSLhsl(117, 71%, 32%)
HSVhsv(117, 83%, 55%)
CMYKcmyk(79.4%, 0%, 83%, 44.7%)
CIE-LABlab(51.12, -51.75, 48.88)
CIE-LCHlch(51.12, 71.19, 136.64°)
OKLaboklab(56.18% -0.1407 0.1085)
OKLCHoklch(56.18% 0.178 142.4)
XYZxyz(10.1958, 19.3757, 4.0665)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8D18 #88188D
analogous
#578D18 #1D8D18 #188D4E
triadic
#1D8D18 #181D8D #8D181D
tetradic
#1D8D18 #18578D #88188D #8D4E18
square
#1D8D18 #18578D #88188D #8D4E18
split-complementary
#1D8D18 #4E188D #8D1857
monochromatic
#072406 #12590F #1D8D18 #28C121 #48DF41

Accessibility & contrast

On white

4.31
#1D8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1D8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8D18
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8D18#FFFFFF#000000##000000
##1D8D181.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1d8d18;
/* rgb */ color: rgb(29, 141, 24);
/* oklch */ color: oklch(56.2% 0.178 142.4);
Tailwind
colors: {
  custom: {
    50: '#6faf60',
    500: '#1d8d18',
    950: '#000000',
  },
}
SCSS
$custom: #1d8d18;
$custom-light: #6faf60;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8d18",
  "rgb": {
    "r": 29,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 117.436,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56177,
    "c": 0.17767,
    "h": 142.4
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#1D8D18
secondary
#BA42BF
accent
#3AEEE6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1D8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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