#1D4C0F#1D4C0F

#1D4C0F is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.104 H 139.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1D4C0F
RGBrgb(29, 76, 15)
HSLhsl(106, 67%, 18%)
HSVhsv(106, 80%, 30%)
CMYKcmyk(61.8%, 0%, 80.3%, 70.2%)
CIE-LABlab(28.02, -28.67, 29.73)
CIE-LCHlch(28.02, 41.30, 133.96°)
OKLaboklab(37% -0.0788 0.0672)
OKLCHoklch(37% 0.104 139.6)
XYZxyz(3.1772, 5.4643, 1.3391)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C0F #3E0F4C
analogous
#3B4C0F #1D4C0F #0F4C20
triadic
#1D4C0F #0F1D4C #4C0F1D
tetradic
#1D4C0F #0F3B4C #3E0F4C #4C200F
square
#1D4C0F #0F3B4C #3E0F4C #4C200F
split-complementary
#1D4C0F #200F4C #4C0F3B
monochromatic
#0A1A05 #0A1A05 #1D4C0F #317F19 #44B223

Accessibility & contrast

On white

10.03
#1D4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1D4C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C0F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C0F#FFFFFF#000000##FFFFFF
##1D4C0F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4505
Deuteranopia (green-blind)
#484115
Tritanopia (blue-blind)
#184940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d4c0f;
/* rgb */ color: rgb(29, 76, 15);
/* oklch */ color: oklch(37.0% 0.104 139.6);
Tailwind
colors: {
  custom: {
    50: '#5f7e52',
    500: '#1d4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c0f;
$custom-light: #5f7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c0f",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 106.23,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36997,
    "c": 0.10356,
    "h": 139.6
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#1D4C0F
secondary
#733186
accent
#3EEAC2
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1D4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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