#1D581B#1D581B

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

Color values

HEX#1D581B
RGBrgb(29, 88, 27)
HSLhsl(118, 53%, 23%)
HSVhsv(118, 69%, 35%)
CMYKcmyk(67%, 0%, 69.3%, 65.5%)
CIE-LABlab(32.52, -32.47, 28.95)
CIE-LCHlch(32.52, 43.50, 138.27°)
OKLaboklab(40.75% -0.0883 0.0672)
OKLCHoklch(40.75% 0.111 142.7)
XYZxyz(4.1940, 7.3194, 2.2285)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D581B #561B58
analogous
#3B581B #1D581B #1B5838
triadic
#1D581B #1B1D58 #581B1D
tetradic
#1D581B #1B3B58 #561B58 #58381B
square
#1D581B #1B3B58 #561B58 #58381B
split-complementary
#1D581B #381B58 #581B3B
monochromatic
#081707 #0E290D #1D581B #2C8729 #3CB638

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D581B#FFFFFF#000000##FFFFFF
##1D581B1.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)
#5A5014
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#12554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d581b;
/* rgb */ color: rgb(29, 88, 27);
/* oklch */ color: oklch(40.8% 0.111 142.7);
Tailwind
colors: {
  custom: {
    50: '#61885a',
    500: '#1d581b',
    950: '#000000',
  },
}
SCSS
$custom: #1d581b;
$custom-light: #61885a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d581b",
  "rgb": {
    "r": 29,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 118.033,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.11097,
    "h": 142.7
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#1D581B
secondary
#8B418E
accent
#4BDCD8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1D581B

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

Preview Lab → · Contrast checker → · Palette generator →

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