#1D5312#1D5312

#1D5312 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.111 H 140.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#1D5312
RGBrgb(29, 83, 18)
HSLhsl(110, 64%, 20%)
HSVhsv(110, 78%, 33%)
CMYKcmyk(65.1%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.62, -31.35, 31.09)
CIE-LCHlch(30.62, 44.15, 135.24°)
OKLaboklab(39.15% -0.0858 0.0705)
OKLCHoklch(39.15% 0.111 140.6)
XYZxyz(3.7090, 6.4911, 1.6296)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5312 #481253
analogous
#3E5312 #1D5312 #125328
triadic
#1D5312 #121D53 #53121D
tetradic
#1D5312 #123E53 #481253 #532812
square
#1D5312 #123E53 #481253 #532812
split-complementary
#1D5312 #281253 #53123E
monochromatic
#091905 #0B2107 #1D5312 #2F851D #40B828

Accessibility & contrast

On white

9.14
#1D5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1D5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5312
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5312#FFFFFF#000000##FFFFFF
##1D53121.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B07
Deuteranopia (green-blind)
#4F4619
Tritanopia (blue-blind)
#155046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d5312;
/* rgb */ color: rgb(29, 83, 18);
/* oklch */ color: oklch(39.2% 0.111 140.6);
Tailwind
colors: {
  custom: {
    50: '#618454',
    500: '#1d5312',
    950: '#000000',
  },
}
SCSS
$custom: #1d5312;
$custom-light: #618454;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5312",
  "rgb": {
    "r": 29,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 109.846,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39151,
    "c": 0.11108,
    "h": 140.6
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#1D5312
secondary
#7D358C
accent
#40E7CB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1D5312

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

Preview Lab → · Contrast checker → · Palette generator →

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