#1D7818#1D7818

#1D7818 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.154 H 142.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1D7818
RGBrgb(29, 120, 24)
HSLhsl(117, 67%, 28%)
HSVhsv(117, 80%, 47%)
CMYKcmyk(75.8%, 0%, 80%, 52.9%)
CIE-LABlab(43.89, -44.75, 41.98)
CIE-LCHlch(43.89, 61.36, 136.83°)
OKLaboklab(50.16% -0.1217 0.0941)
OKLCHoklch(50.16% 0.154 142.3)
XYZxyz(7.3876, 13.7593, 3.1304)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7818 #731878
analogous
#4D7818 #1D7818 #187843
triadic
#1D7818 #181D78 #78181D
tetradic
#1D7818 #184D78 #731878 #784318
square
#1D7818 #184D78 #731878 #784318
split-complementary
#1D7818 #431878 #78184D
monochromatic
#061A05 #11450E #1D7818 #29AB22 #3CD634

Accessibility & contrast

On white

5.60
#1D7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#1D7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7818
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7818#FFFFFF#000000##FFFFFF
##1D78181.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1d7818;
/* rgb */ color: rgb(29, 120, 24);
/* oklch */ color: oklch(50.2% 0.154 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a05d',
    500: '#1d7818',
    950: '#000000',
  },
}
SCSS
$custom: #1d7818;
$custom-light: #69a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7818",
  "rgb": {
    "r": 29,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 116.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5016,
    "c": 0.15386,
    "h": 142.3
  },
  "luminance": 0.1376
}

Semantic roles & 50–950 ramp

primary
#1D7818
secondary
#A73FAD
accent
#3EEAE1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1D7818

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

Preview Lab → · Contrast checker → · Palette generator →

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