#1D540F#1D540F

#1D540F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.114 H 140.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1D540F
RGBrgb(29, 84, 15)
HSLhsl(108, 70%, 19%)
HSVhsv(108, 82%, 33%)
CMYKcmyk(65.5%, 0%, 82.1%, 67.1%)
CIE-LABlab(30.96, -32.01, 32.66)
CIE-LCHlch(30.96, 45.74, 134.43°)
OKLaboklab(39.43% -0.0878 0.0733)
OKLCHoklch(39.43% 0.114 140.2)
XYZxyz(3.7631, 6.6360, 1.5344)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D540F #460F54
analogous
#40540F #1D540F #0F5424
triadic
#1D540F #0F1D54 #540F1D
tetradic
#1D540F #0F4054 #460F54 #54240F
square
#1D540F #0F4054 #460F54 #54240F
split-complementary
#1D540F #240F54 #540F40
monochromatic
#091A05 #0B2006 #1D540F #2F8818 #41BC22

Accessibility & contrast

On white

9.02
#1D540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1D540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D540F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D540F#FFFFFF#000000##FFFFFF
##1D540F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#165147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d540f;
/* rgb */ color: rgb(29, 84, 15);
/* oklch */ color: oklch(39.4% 0.114 140.2);
Tailwind
colors: {
  custom: {
    50: '#618553',
    500: '#1d540f',
    950: '#000000',
  },
}
SCSS
$custom: #1d540f;
$custom-light: #618553;
$custom-dark: #000000;
JSON
{
  "hex": "#1d540f",
  "rgb": {
    "r": 29,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 107.826,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.11441,
    "h": 140.2
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#1D540F
secondary
#7B318E
accent
#3BEDC9
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1D540F

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

Preview Lab → · Contrast checker → · Palette generator →

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