#1D8F18#1D8F18

#1D8F18 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.180 H 142.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1D8F18
RGBrgb(29, 143, 24)
HSLhsl(117, 71%, 33%)
HSVhsv(117, 83%, 56%)
CMYKcmyk(79.7%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.80, -52.40, 49.51)
CIE-LCHlch(51.80, 72.09, 136.62°)
OKLaboklab(56.74% -0.1424 0.1098)
OKLCHoklch(56.74% 0.18 142.4)
XYZxyz(10.4934, 19.9708, 4.1657)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8F18 #8A188F
analogous
#588F18 #1D8F18 #188F4E
triadic
#1D8F18 #181D8F #8F181D
tetradic
#1D8F18 #18588F #8A188F #8F4E18
square
#1D8F18 #18588F #8A188F #8F4E18
split-complementary
#1D8F18 #4E188F #8F1858
monochromatic
#082606 #125B0F #1D8F18 #28C321 #49DF42

Accessibility & contrast

On white

4.20
#1D8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1D8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8F18
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8F18#FFFFFF#000000##000000
##1D8F181.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1d8f18;
/* rgb */ color: rgb(29, 143, 24);
/* oklch */ color: oklch(56.7% 0.180 142.4);
Tailwind
colors: {
  custom: {
    50: '#6fb160',
    500: '#1d8f18',
    950: '#000000',
  },
}
SCSS
$custom: #1d8f18;
$custom-light: #6fb160;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8f18",
  "rgb": {
    "r": 29,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 117.479,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.17987,
    "h": 142.4
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#1D8F18
secondary
#BB43C0
accent
#3AEEE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1D8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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