#1D5115#1D5115

#1D5115 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.106 H 141.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1D5115
RGBrgb(29, 81, 21)
HSLhsl(112, 59%, 20%)
HSVhsv(112, 74%, 32%)
CMYKcmyk(64.2%, 0%, 74.1%, 68.2%)
CIE-LABlab(29.91, -30.22, 29.00)
CIE-LCHlch(29.91, 41.89, 136.18°)
OKLaboklab(38.57% -0.0826 0.0666)
OKLCHoklch(38.57% 0.106 141.1)
XYZxyz(3.5843, 6.1999, 1.7171)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5115 #491551
analogous
#3B5115 #1D5115 #15512B
triadic
#1D5115 #151D51 #51151D
tetradic
#1D5115 #153B51 #491551 #512B15
square
#1D5115 #153B51 #491551 #512B15
split-complementary
#1D5115 #2B1551 #51153B
monochromatic
#091806 #0C2008 #1D5115 #2E8222 #40B22E

Accessibility & contrast

On white

9.38
#1D5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1D5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5115
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5115#FFFFFF#000000##FFFFFF
##1D51151.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#164E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d5115;
/* rgb */ color: rgb(29, 81, 21);
/* oklch */ color: oklch(38.6% 0.106 141.1);
Tailwind
colors: {
  custom: {
    50: '#608256',
    500: '#1d5115',
    950: '#000000',
  },
}
SCSS
$custom: #1d5115;
$custom-light: #608256;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5115",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 112,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.10607,
    "h": 141.1
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#1D5115
secondary
#7E3989
accent
#46E2CD
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1D5115

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

Preview Lab → · Contrast checker → · Palette generator →

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