#1D8B18#1D8B18

#1D8B18 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.175 H 142.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1D8B18
RGBrgb(29, 139, 24)
HSLhsl(117, 71%, 32%)
HSVhsv(117, 83%, 55%)
CMYKcmyk(79.1%, 0%, 82.7%, 45.5%)
CIE-LABlab(50.44, -51.11, 48.24)
CIE-LCHlch(50.44, 70.28, 136.65°)
OKLaboklab(55.61% -0.1389 0.1072)
OKLCHoklch(55.61% 0.175 142.4)
XYZxyz(9.9036, 18.7912, 3.9691)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8B18 #86188B
analogous
#578B18 #1D8B18 #188B4C
triadic
#1D8B18 #181D8B #8B181D
tetradic
#1D8B18 #18578B #86188B #8B4C18
square
#1D8B18 #18578B #86188B #8B4C18
split-complementary
#1D8B18 #4C188B #8B1857
monochromatic
#072306 #12570F #1D8B18 #28BF21 #46DE3F

Accessibility & contrast

On white

4.41
#1D8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1D8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8B18
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8B18#FFFFFF#000000##000000
##1D8B181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1d8b18;
/* rgb */ color: rgb(29, 139, 24);
/* oklch */ color: oklch(55.6% 0.175 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eae60',
    500: '#1d8b18',
    950: '#000000',
  },
}
SCSS
$custom: #1d8b18;
$custom-light: #6eae60;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8b18",
  "rgb": {
    "r": 29,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 117.391,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5561,
    "c": 0.17547,
    "h": 142.4
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#1D8B18
secondary
#B940BE
accent
#3AEDE6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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