#1D5212#1D5212

#1D5212 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.110 H 140.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#1D5212
RGBrgb(29, 82, 18)
HSLhsl(110, 64%, 20%)
HSVhsv(110, 78%, 32%)
CMYKcmyk(64.6%, 0%, 78%, 67.8%)
CIE-LABlab(30.25, -30.94, 30.71)
CIE-LCHlch(30.25, 43.59, 135.21°)
OKLaboklab(38.85% -0.0847 0.0697)
OKLCHoklch(38.85% 0.11 140.6)
XYZxyz(3.6330, 6.3391, 1.6043)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5212 #471252
analogous
#3D5212 #1D5212 #125227
triadic
#1D5212 #121D52 #52121D
tetradic
#1D5212 #123D52 #471252 #522712
square
#1D5212 #123D52 #471252 #522712
split-complementary
#1D5212 #271252 #52123D
monochromatic
#091906 #0B2007 #1D5212 #2F841D #40B628

Accessibility & contrast

On white

9.26
#1D5212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1D5212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5212
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5212#FFFFFF#000000##FFFFFF
##1D52121.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A07
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#164F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d5212;
/* rgb */ color: rgb(29, 82, 18);
/* oklch */ color: oklch(38.8% 0.110 140.6);
Tailwind
colors: {
  custom: {
    50: '#618354',
    500: '#1d5212',
    950: '#000000',
  },
}
SCSS
$custom: #1d5212;
$custom-light: #618354;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5212",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 109.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38848,
    "c": 0.10971,
    "h": 140.6
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#1D5212
secondary
#7C358B
accent
#41E7CA
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #1D5212

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

Preview Lab → · Contrast checker → · Palette generator →

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