#1D581F#1D581F

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

Color values

HEX#1D581F
RGBrgb(29, 88, 31)
HSLhsl(122, 50%, 23%)
HSVhsv(122, 67%, 35%)
CMYKcmyk(67%, 0%, 64.8%, 65.5%)
CIE-LABlab(32.57, -31.96, 26.97)
CIE-LCHlch(32.57, 41.82, 139.84°)
OKLaboklab(40.8% -0.0867 0.0634)
OKLCHoklch(40.8% 0.107 143.8)
XYZxyz(4.2435, 7.3392, 2.4890)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D581F #581D56
analogous
#38581D #1D581F #1D583C
triadic
#1D581F #1F1D58 #581F1D
tetradic
#1D581F #1D3858 #581D56 #583C1D
square
#1D581F #1D3858 #581D56 #583C1D
split-complementary
#1D581F #3C1D58 #581D38
monochromatic
#081708 #0E2A0F #1D581F #2C862F #3BB43F

Accessibility & contrast

On white

8.51
#1D581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1D581F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D581F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D581F#FFFFFF#000000##FFFFFF
##1D581F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#524B24
Tritanopia (blue-blind)
#11554C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d581f;
/* rgb */ color: rgb(29, 88, 31);
/* oklch */ color: oklch(40.8% 0.107 143.8);
Tailwind
colors: {
  custom: {
    50: '#61885d',
    500: '#1d581f',
    950: '#000000',
  },
}
SCSS
$custom: #1d581f;
$custom-light: #61885d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d581f",
  "rgb": {
    "r": 29,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 122.034,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40801,
    "c": 0.10743,
    "h": 143.8
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#1D581F
secondary
#8D448B
accent
#4ED5DA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1D581F

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

Preview Lab → · Contrast checker → · Palette generator →

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