#1D511F#1D511F

#1D511F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.097 H 144.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#1D511F
RGBrgb(29, 81, 31)
HSLhsl(122, 47%, 22%)
HSVhsv(122, 64%, 32%)
CMYKcmyk(64.2%, 0%, 61.7%, 68.2%)
CIE-LABlab(30.02, -28.97, 24.01)
CIE-LCHlch(30.02, 37.63, 140.35°)
OKLaboklab(38.7% -0.0786 0.057)
OKLCHoklch(38.7% 0.097 144)
XYZxyz(3.6962, 6.2447, 2.3066)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D511F #511D4F
analogous
#35511D #1D511F #1D5139
triadic
#1D511F #1F1D51 #511F1D
tetradic
#1D511F #1D3551 #511D4F #51391D
square
#1D511F #1D3551 #511D4F #51391D
split-complementary
#1D511F #391D51 #511D35
monochromatic
#081709 #0D240E #1D511F #2D7E30 #3DAB41

Accessibility & contrast

On white

9.34
#1D511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D511F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D511F#FFFFFF#000000##FFFFFF
##1D511F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53491A
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#134F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d511f;
/* rgb */ color: rgb(29, 81, 31);
/* oklch */ color: oklch(38.7% 0.097 144.0);
Tailwind
colors: {
  custom: {
    50: '#5f825c',
    500: '#1d511f',
    950: '#000000',
  },
}
SCSS
$custom: #1d511f;
$custom-light: #5f825c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d511f",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 122.308,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.09711,
    "h": 144
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#1D511F
secondary
#864484
accent
#51D2D7
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1D511F

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

Preview Lab → · Contrast checker → · Palette generator →

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