#1D6812#1D6812

#1D6812 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.138 H 141.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#1D6812
RGBrgb(29, 104, 18)
HSLhsl(112, 70%, 24%)
HSVhsv(112, 83%, 41%)
CMYKcmyk(72.1%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.21, -39.49, 38.59)
CIE-LCHlch(38.21, 55.21, 135.66°)
OKLaboklab(45.43% -0.1078 0.0861)
OKLCHoklch(45.43% 0.138 141.4)
XYZxyz(5.5659, 10.2049, 2.2486)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D6812 #5D1268
analogous
#486812 #1D6812 #126832
triadic
#1D6812 #121D68 #68121D
tetradic
#1D6812 #124868 #5D1268 #683212
square
#1D6812 #124868 #5D1268 #683212
split-complementary
#1D6812 #321268 #681248
monochromatic
#071A05 #0E3409 #1D6812 #2C9C1B #3AD024

Accessibility & contrast

On white

6.91
#1D6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1D6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D6812
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D6812#FFFFFF#000000##FFFFFF
##1D68121.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#0C6458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1d6812;
/* rgb */ color: rgb(29, 104, 18);
/* oklch */ color: oklch(45.4% 0.138 141.4);
Tailwind
colors: {
  custom: {
    50: '#669458',
    500: '#1d6812',
    950: '#000000',
  },
}
SCSS
$custom: #1d6812;
$custom-light: #669458;
$custom-dark: #000000;
JSON
{
  "hex": "#1d6812",
  "rgb": {
    "r": 29,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 112.326,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.138,
    "h": 141.4
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#1D6812
secondary
#9236A0
accent
#3BEDD6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1D6812

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

Preview Lab → · Contrast checker → · Palette generator →

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