#1D5211#1D5211

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

Color values

HEX#1D5211
RGBrgb(29, 82, 17)
HSLhsl(109, 66%, 19%)
HSVhsv(109, 79%, 32%)
CMYKcmyk(64.6%, 0%, 79.3%, 67.8%)
CIE-LABlab(30.24, -31.03, 31.13)
CIE-LCHlch(30.24, 43.95, 134.90°)
OKLaboklab(38.84% -0.085 0.0704)
OKLCHoklch(38.84% 0.11 140.4)
XYZxyz(3.6250, 6.3359, 1.5621)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5211 #461152
analogous
#3E5211 #1D5211 #115226
triadic
#1D5211 #111D52 #52111D
tetradic
#1D5211 #113E52 #461152 #522611
square
#1D5211 #113E52 #461152 #522611
split-complementary
#1D5211 #261152 #52113E
monochromatic
#091905 #0B1F06 #1D5211 #2F851C #41B726

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D5211#FFFFFF#000000##FFFFFF
##1D52111.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)
#544A06
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#164F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d5211;
/* rgb */ color: rgb(29, 82, 17);
/* oklch */ color: oklch(38.8% 0.110 140.4);
Tailwind
colors: {
  custom: {
    50: '#618354',
    500: '#1d5211',
    950: '#000000',
  },
}
SCSS
$custom: #1d5211;
$custom-light: #618354;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5211",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 108.923,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38839,
    "c": 0.11042,
    "h": 140.4
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#1D5211
secondary
#7B348B
accent
#3FE9C9
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1D5211

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

Preview Lab → · Contrast checker → · Palette generator →

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