#1D4E17#1D4E17

#1D4E17 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.100 H 141.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#1D4E17
RGBrgb(29, 78, 23)
HSLhsl(113, 54%, 20%)
HSVhsv(113, 71%, 31%)
CMYKcmyk(62.8%, 0%, 70.5%, 69.4%)
CIE-LABlab(28.83, -28.71, 26.86)
CIE-LCHlch(28.83, 39.32, 136.91°)
OKLaboklab(37.69% -0.0784 0.0623)
OKLCHoklch(37.69% 0.1 141.5)
XYZxyz(3.3856, 5.7716, 1.7461)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E17 #48174E
analogous
#384E17 #1D4E17 #174E2D
triadic
#1D4E17 #171D4E #4E171D
tetradic
#1D4E17 #17384E #48174E #4E2D17
square
#1D4E17 #17384E #48174E #4E2D17
split-complementary
#1D4E17 #2D174E #4E1738
monochromatic
#091807 #0B1F09 #1D4E17 #2F7D25 #40AD33

Accessibility & contrast

On white

9.75
#1D4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1D4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E17
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E17#FFFFFF#000000##FFFFFF
##1D4E171.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504710
Deuteranopia (green-blind)
#4A421C
Tritanopia (blue-blind)
#164B43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4e17;
/* rgb */ color: rgb(29, 78, 23);
/* oklch */ color: oklch(37.7% 0.100 141.5);
Tailwind
colors: {
  custom: {
    50: '#5f8057',
    500: '#1d4e17',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e17;
$custom-light: #5f8057;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e17",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 113.455,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37688,
    "c": 0.10011,
    "h": 141.5
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#1D4E17
secondary
#7D3C85
accent
#4ADECE
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1D4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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