#1D5812#1D5812

#1D5812 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.118 H 140.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1D5812
RGBrgb(29, 88, 18)
HSLhsl(111, 66%, 21%)
HSVhsv(111, 80%, 35%)
CMYKcmyk(67%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.44, -33.38, 32.94)
CIE-LCHlch(32.44, 46.90, 135.38°)
OKLaboklab(40.66% -0.0913 0.0744)
OKLCHoklch(40.66% 0.118 140.9)
XYZxyz(4.1054, 7.2839, 1.7617)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5812 #4D1258
analogous
#405812 #1D5812 #12582A
triadic
#1D5812 #121D58 #58121D
tetradic
#1D5812 #124058 #4D1258 #582A12
square
#1D5812 #124058 #4D1258 #582A12
split-complementary
#1D5812 #2A1258 #581240
monochromatic
#081905 #0C2508 #1D5812 #2E8B1C #3EBE27

Accessibility & contrast

On white

8.55
#1D5812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D5812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5812
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5812#FFFFFF#000000##FFFFFF
##1D58121.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#14554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d5812;
/* rgb */ color: rgb(29, 88, 18);
/* oklch */ color: oklch(40.7% 0.118 140.9);
Tailwind
colors: {
  custom: {
    50: '#628855',
    500: '#1d5812',
    950: '#000000',
  },
}
SCSS
$custom: #1d5812;
$custom-light: #628855;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5812",
  "rgb": {
    "r": 29,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 110.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.11777,
    "h": 140.9
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#1D5812
secondary
#823591
accent
#3FE9CE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1D5812

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

Preview Lab → · Contrast checker → · Palette generator →

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