#1D5712#1D5712

#1D5712 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.116 H 140.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#1D5712
RGBrgb(29, 87, 18)
HSLhsl(110, 66%, 21%)
HSVhsv(110, 79%, 34%)
CMYKcmyk(66.7%, 0%, 79.3%, 65.9%)
CIE-LABlab(32.08, -32.98, 32.57)
CIE-LCHlch(32.08, 46.35, 135.36°)
OKLaboklab(40.36% -0.0902 0.0736)
OKLCHoklch(40.36% 0.116 140.8)
XYZxyz(4.0239, 7.1209, 1.7346)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5712 #4C1257
analogous
#3F5712 #1D5712 #125729
triadic
#1D5712 #121D57 #57121D
tetradic
#1D5712 #123F57 #4C1257 #572912
square
#1D5712 #123F57 #4C1257 #572912
split-complementary
#1D5712 #291257 #57123F
monochromatic
#081905 #0C2408 #1D5712 #2E8A1C #3FBC27

Accessibility & contrast

On white

8.66
#1D5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1D5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5712
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5712#FFFFFF#000000##FFFFFF
##1D57121.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#14544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d5712;
/* rgb */ color: rgb(29, 87, 18);
/* oklch */ color: oklch(40.4% 0.116 140.8);
Tailwind
colors: {
  custom: {
    50: '#628755',
    500: '#1d5712',
    950: '#000000',
  },
}
SCSS
$custom: #1d5712;
$custom-light: #628755;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5712",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 110.435,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.11645,
    "h": 140.8
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#1D5712
secondary
#813590
accent
#3FE9CE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1D5712

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

Preview Lab → · Contrast checker → · Palette generator →

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