#1D7318#1D7318

#1D7318 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.148 H 142.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#1D7318
RGBrgb(29, 115, 24)
HSLhsl(117, 65%, 27%)
HSVhsv(117, 79%, 45%)
CMYKcmyk(74.8%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.14, -43.00, 40.27)
CIE-LCHlch(42.14, 58.91, 136.88°)
OKLaboklab(48.71% -0.117 0.0905)
OKLCHoklch(48.71% 0.148 142.3)
XYZxyz(6.8019, 12.5879, 2.9352)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7318 #6E1873
analogous
#4B7318 #1D7318 #187340
triadic
#1D7318 #181D73 #73181D
tetradic
#1D7318 #184B73 #6E1873 #734018
square
#1D7318 #184B73 #6E1873 #734018
split-complementary
#1D7318 #401873 #73184B
monochromatic
#061905 #10400D #1D7318 #2AA623 #3AD431

Accessibility & contrast

On white

5.97
#1D7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#1D7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7318
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7318#FFFFFF#000000##FFFFFF
##1D73181.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#026F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7318;
/* rgb */ color: rgb(29, 115, 24);
/* oklch */ color: oklch(48.7% 0.148 142.3);
Tailwind
colors: {
  custom: {
    50: '#689c5c',
    500: '#1d7318',
    950: '#000000',
  },
}
SCSS
$custom: #1d7318;
$custom-light: #689c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7318",
  "rgb": {
    "r": 29,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 116.703,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.14793,
    "h": 142.3
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#1D7318
secondary
#A23FA8
accent
#3FE8DF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7318

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

Preview Lab → · Contrast checker → · Palette generator →

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