#1D4E2D#1D4E2D

#1D4E2D is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.077 H 151.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1D4E2D
RGBrgb(29, 78, 45)
HSLhsl(140, 46%, 21%)
HSVhsv(140, 63%, 31%)
CMYKcmyk(62.8%, 0%, 42.3%, 69.4%)
CIE-LABlab(29.16, -25.11, 14.72)
CIE-LCHlch(29.16, 29.11, 149.63°)
OKLaboklab(38.06% -0.068 0.0367)
OKLCHoklch(38.06% 0.077 151.7)
XYZxyz(3.7045, 5.8991, 3.4255)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E2D #4E1D3E
analogous
#254E1D #1D4E2D #1D4E45
triadic
#1D4E2D #2D1D4E #4E2D1D
tetradic
#1D4E2D #1D254E #4E1D3E #4E451D
square
#1D4E2D #1D254E #4E1D3E #4E451D
split-complementary
#1D4E2D #451D4E #4E1D25
monochromatic
#08160D #0C2113 #1D4E2D #2E7B47 #3EA760

Accessibility & contrast

On white

9.63
#1D4E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1D4E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E2D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E2D#FFFFFF#000000##FFFFFF
##1D4E2D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482B
Deuteranopia (green-blind)
#48432F
Tritanopia (blue-blind)
#0F4D46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d4e2d;
/* rgb */ color: rgb(29, 78, 45);
/* oklch */ color: oklch(38.1% 0.077 151.7);
Tailwind
colors: {
  custom: {
    50: '#5e8066',
    500: '#1d4e2d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e2d;
$custom-light: #5e8066;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e2d",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 139.592,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38064,
    "c": 0.07731,
    "h": 151.7
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#1D4E2D
secondary
#83446E
accent
#52ABD5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1D4E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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