#1D511A#1D511A

#1D511A is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.102 H 142.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1D511A
RGBrgb(29, 81, 26)
HSLhsl(117, 51%, 21%)
HSVhsv(117, 68%, 32%)
CMYKcmyk(64.2%, 0%, 67.9%, 68.2%)
CIE-LABlab(29.96, -29.65, 26.60)
CIE-LCHlch(29.96, 39.83, 138.10°)
OKLaboklab(38.63% -0.0807 0.0621)
OKLCHoklch(38.63% 0.102 142.4)
XYZxyz(3.6354, 6.2203, 1.9861)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D511A #4E1A51
analogous
#38511A #1D511A #1A5132
triadic
#1D511A #1A1D51 #511A1D
tetradic
#1D511A #1A3851 #4E1A51 #51321A
square
#1D511A #1A3851 #4E1A51 #51321A
split-complementary
#1D511A #321A51 #511A38
monochromatic
#081707 #0C230B #1D511A #2E7F29 #3EAE38

Accessibility & contrast

On white

9.36
#1D511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1D511A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D511A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D511A#FFFFFF#000000##FFFFFF
##1D511A1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534914
Deuteranopia (green-blind)
#4C451F
Tritanopia (blue-blind)
#154E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d511a;
/* rgb */ color: rgb(29, 81, 26);
/* oklch */ color: oklch(38.6% 0.102 142.4);
Tailwind
colors: {
  custom: {
    50: '#608259',
    500: '#1d511a',
    950: '#000000',
  },
}
SCSS
$custom: #1d511a;
$custom-light: #608259;
$custom-dark: #000000;
JSON
{
  "hex": "#1d511a",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 116.727,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38633,
    "c": 0.10183,
    "h": 142.4
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#1D511A
secondary
#834087
accent
#4DDBD3
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1D511A

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

Preview Lab → · Contrast checker → · Palette generator →

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