#1D5218#1D5218

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

Color values

HEX#1D5218
RGBrgb(29, 82, 24)
HSLhsl(115, 55%, 21%)
HSVhsv(115, 71%, 32%)
CMYKcmyk(64.6%, 0%, 70.7%, 67.8%)
CIE-LABlab(30.31, -30.31, 27.99)
CIE-LCHlch(30.31, 41.26, 137.29°)
OKLaboklab(38.91% -0.0826 0.0648)
OKLCHoklch(38.91% 0.105 141.9)
XYZxyz(3.6887, 6.3614, 1.8975)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5218 #4D1852
analogous
#3A5218 #1D5218 #185230
triadic
#1D5218 #181D52 #52181D
tetradic
#1D5218 #183A52 #4D1852 #523018
square
#1D5218 #183A52 #4D1852 #523018
split-complementary
#1D5218 #301852 #52183A
monochromatic
#081807 #0C230A #1D5218 #2E8126 #3EB134

Accessibility & contrast

On white

9.24
#1D5218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D5218
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5218#FFFFFF#000000##FFFFFF
##1D52181.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d5218;
/* rgb */ color: rgb(29, 82, 24);
/* oklch */ color: oklch(38.9% 0.105 141.9);
Tailwind
colors: {
  custom: {
    50: '#608358',
    500: '#1d5218',
    950: '#000000',
  },
}
SCSS
$custom: #1d5218;
$custom-light: #608358;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5218",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 114.828,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.10502,
    "h": 141.9
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#1D5218
secondary
#823D89
accent
#4ADED1
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #1D5218

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

Preview Lab → · Contrast checker → · Palette generator →

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