#1D7918#1D7918

#1D7918 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.155 H 142.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1D7918
RGBrgb(29, 121, 24)
HSLhsl(117, 67%, 28%)
HSVhsv(117, 80%, 47%)
CMYKcmyk(76%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.23, -45.09, 42.32)
CIE-LCHlch(44.23, 61.84, 136.81°)
OKLaboklab(50.45% -0.1227 0.0948)
OKLCHoklch(50.45% 0.155 142.3)
XYZxyz(7.5085, 14.0011, 3.1707)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7918 #741879
analogous
#4D7918 #1D7918 #187943
triadic
#1D7918 #181D79 #79181D
tetradic
#1D7918 #184D79 #741879 #794318
square
#1D7918 #184D79 #741879 #794318
split-complementary
#1D7918 #431879 #79184D
monochromatic
#061A05 #11460E #1D7918 #29AC22 #3DD735

Accessibility & contrast

On white

5.53
#1D7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1D7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7918
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7918#FFFFFF#000000##FFFFFF
##1D79181.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1d7918;
/* rgb */ color: rgb(29, 121, 24);
/* oklch */ color: oklch(50.4% 0.155 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa15d',
    500: '#1d7918',
    950: '#000000',
  },
}
SCSS
$custom: #1d7918;
$custom-light: #6aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7918",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 116.907,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.15504,
    "h": 142.3
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#1D7918
secondary
#A83FAE
accent
#3EEAE1
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1D7918

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

Preview Lab → · Contrast checker → · Palette generator →

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