#1D581C#1D581C

#1D581C is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.110 H 143.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1D581C
RGBrgb(29, 88, 28)
HSLhsl(119, 52%, 23%)
HSVhsv(119, 68%, 35%)
CMYKcmyk(67%, 0%, 68.2%, 65.5%)
CIE-LABlab(32.53, -32.35, 28.47)
CIE-LCHlch(32.53, 43.09, 138.65°)
OKLaboklab(40.76% -0.0879 0.0663)
OKLCHoklch(40.76% 0.11 143)
XYZxyz(4.2058, 7.3241, 2.2904)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D581C #571C58
analogous
#3B581C #1D581C #1C5839
triadic
#1D581C #1C1D58 #581C1D
tetradic
#1D581C #1C3B58 #571C58 #58391C
square
#1D581C #1C3B58 #571C58 #58391C
split-complementary
#1D581C #391C58 #581C3B
monochromatic
#081707 #0E2A0D #1D581C #2C862B #3CB53A

Accessibility & contrast

On white

8.52
#1D581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D581C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D581C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D581C#FFFFFF#000000##FFFFFF
##1D581C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5015
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#12554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d581c;
/* rgb */ color: rgb(29, 88, 28);
/* oklch */ color: oklch(40.8% 0.110 143.0);
Tailwind
colors: {
  custom: {
    50: '#61885b',
    500: '#1d581c',
    950: '#000000',
  },
}
SCSS
$custom: #1d581c;
$custom-light: #61885b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d581c",
  "rgb": {
    "r": 29,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 119,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.11012,
    "h": 143
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#1D581C
secondary
#8C428E
accent
#4DDBD9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1D581C

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

Preview Lab → · Contrast checker → · Palette generator →

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