#1D541B#1D541B

#1D541B is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.105 H 142.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#1D541B
RGBrgb(29, 84, 27)
HSLhsl(118, 51%, 22%)
HSVhsv(118, 68%, 33%)
CMYKcmyk(65.5%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.07, -30.80, 27.33)
CIE-LCHlch(31.07, 41.18, 138.42°)
OKLaboklab(39.55% -0.0838 0.0638)
OKLCHoklch(39.55% 0.105 142.7)
XYZxyz(3.8746, 6.6806, 2.1220)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D541B #521B54
analogous
#3A541B #1D541B #1B5436
triadic
#1D541B #1B1D54 #541B1D
tetradic
#1D541B #1B3A54 #521B54 #54361B
square
#1D541B #1B3A54 #521B54 #54361B
split-complementary
#1D541B #361B54 #541B3A
monochromatic
#081707 #0D260C #1D541B #2D822A #3DB139

Accessibility & contrast

On white

8.99
#1D541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1D541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D541B
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D541B#FFFFFF#000000##FFFFFF
##1D541B1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#135148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d541b;
/* rgb */ color: rgb(29, 84, 27);
/* oklch */ color: oklch(39.5% 0.105 142.7);
Tailwind
colors: {
  custom: {
    50: '#60855a',
    500: '#1d541b',
    950: '#000000',
  },
}
SCSS
$custom: #1d541b;
$custom-light: #60855a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d541b",
  "rgb": {
    "r": 29,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 117.895,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39549,
    "c": 0.10529,
    "h": 142.7
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#1D541B
secondary
#87418A
accent
#4DDBD6
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1D541B

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

Preview Lab → · Contrast checker → · Palette generator →

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