#1D6818#1D6818

#1D6818 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.134 H 142.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#1D6818
RGBrgb(29, 104, 24)
HSLhsl(116, 63%, 25%)
HSVhsv(116, 77%, 41%)
CMYKcmyk(72.1%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.25, -39.01, 36.37)
CIE-LCHlch(38.25, 53.34, 137.01°)
OKLaboklab(45.48% -0.1062 0.0824)
OKLCHoklch(45.48% 0.134 142.2)
XYZxyz(5.6216, 10.2272, 2.5418)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D6818 #631868
analogous
#456818 #1D6818 #18683B
triadic
#1D6818 #181D68 #68181D
tetradic
#1D6818 #184568 #631868 #683B18
square
#1D6818 #184568 #631868 #683B18
split-complementary
#1D6818 #3B1868 #681845
monochromatic
#071906 #0F360D #1D6818 #2B9A23 #39CB2F

Accessibility & contrast

On white

6.90
#1D6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1D6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D6818
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D6818#FFFFFF#000000##FFFFFF
##1D68181.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#0A6558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1d6818;
/* rgb */ color: rgb(29, 104, 24);
/* oklch */ color: oklch(45.5% 0.134 142.2);
Tailwind
colors: {
  custom: {
    50: '#65945b',
    500: '#1d6818',
    950: '#000000',
  },
}
SCSS
$custom: #1d6818;
$custom-light: #65945b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d6818",
  "rgb": {
    "r": 29,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 116.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4548,
    "c": 0.13443,
    "h": 142.2
  },
  "luminance": 0.10228
}

Semantic roles & 50–950 ramp

primary
#1D6818
secondary
#983E9E
accent
#42E6DB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1D6818

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

Preview Lab → · Contrast checker → · Palette generator →

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