#1D4E22#1D4E22

#1D4E22 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.089 H 145.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#1D4E22
RGBrgb(29, 78, 34)
HSLhsl(126, 46%, 21%)
HSVhsv(126, 63%, 31%)
CMYKcmyk(62.8%, 0%, 56.4%, 69.4%)
CIE-LABlab(28.97, -27.17, 21.05)
CIE-LCHlch(28.97, 34.37, 142.23°)
OKLaboklab(37.85% -0.0736 0.0507)
OKLCHoklch(37.85% 0.089 145.4)
XYZxyz(3.5196, 5.8252, 2.4520)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E22 #4E1D49
analogous
#304E1D #1D4E22 #1D4E3A
triadic
#1D4E22 #221D4E #4E221D
tetradic
#1D4E22 #1D304E #4E1D49 #4E3A1D
square
#1D4E22 #1D304E #4E1D49 #4E3A1D
split-complementary
#1D4E22 #3A1D4E #4E1D30
monochromatic
#08160A #0C210F #1D4E22 #2E7B35 #3EA749

Accessibility & contrast

On white

9.70
#1D4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1D4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E22
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E22#FFFFFF#000000##FFFFFF
##1D4E221.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471E
Deuteranopia (green-blind)
#494325
Tritanopia (blue-blind)
#134C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4e22;
/* rgb */ color: rgb(29, 78, 34);
/* oklch */ color: oklch(37.8% 0.089 145.4);
Tailwind
colors: {
  custom: {
    50: '#5f805e',
    500: '#1d4e22',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e22;
$custom-light: #5f805e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e22",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 126.122,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.37847,
    "c": 0.08941,
    "h": 145.4
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#1D4E22
secondary
#83447D
accent
#52C8D5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1D4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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