#1D5215#1D5215

#1D5215 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.107 H 141.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1D5215
RGBrgb(29, 82, 21)
HSLhsl(112, 59%, 20%)
HSVhsv(112, 74%, 32%)
CMYKcmyk(64.6%, 0%, 74.4%, 67.8%)
CIE-LABlab(30.28, -30.64, 29.39)
CIE-LCHlch(30.28, 42.46, 136.19°)
OKLaboklab(38.88% -0.0837 0.0674)
OKLCHoklch(38.88% 0.107 141.2)
XYZxyz(3.6592, 6.3496, 1.7421)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5215 #4A1552
analogous
#3B5215 #1D5215 #15522B
triadic
#1D5215 #151D52 #52151D
tetradic
#1D5215 #153B52 #4A1552 #522B15
square
#1D5215 #153B52 #4A1552 #522B15
split-complementary
#1D5215 #2B1552 #52153B
monochromatic
#091806 #0C2109 #1D5215 #2E8321 #3FB32E

Accessibility & contrast

On white

9.25
#1D5215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D5215
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5215#FFFFFF#000000##FFFFFF
##1D52151.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0C
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#154F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d5215;
/* rgb */ color: rgb(29, 82, 21);
/* oklch */ color: oklch(38.9% 0.107 141.2);
Tailwind
colors: {
  custom: {
    50: '#608356',
    500: '#1d5215',
    950: '#000000',
  },
}
SCSS
$custom: #1d5215;
$custom-light: #608356;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5215",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 112.131,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.10748,
    "h": 141.2
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#1D5215
secondary
#7F398A
accent
#45E2CE
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #1D5215

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

Preview Lab → · Contrast checker → · Palette generator →

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