#1D4A0F#1D4A0F

#1D4A0F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.101 H 139.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#1D4A0F
RGBrgb(29, 74, 15)
HSLhsl(106, 66%, 17%)
HSVhsv(106, 80%, 29%)
CMYKcmyk(60.8%, 0%, 79.7%, 71%)
CIE-LABlab(27.28, -27.80, 28.98)
CIE-LCHlch(27.28, 40.16, 133.81°)
OKLaboklab(36.39% -0.0765 0.0656)
OKLCHoklch(36.39% 0.101 139.4)
XYZxyz(3.0416, 5.1930, 1.2939)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A0F #3C0F4A
analogous
#3A4A0F #1D4A0F #0F4A1F
triadic
#1D4A0F #0F1D4A #4A0F1D
tetradic
#1D4A0F #0F3A4A #3C0F4A #4A1F0F
square
#1D4A0F #0F3A4A #3C0F4A #4A1F0F
split-complementary
#1D4A0F #1F0F4A #4A0F3A
monochromatic
#0A1905 #0A1905 #1D4A0F #317D19 #45B024

Accessibility & contrast

On white

10.30
#1D4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1D4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A0F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A0F#FFFFFF#000000##FFFFFF
##1D4A0F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4306
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#18473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d4a0f;
/* rgb */ color: rgb(29, 74, 15);
/* oklch */ color: oklch(36.4% 0.101 139.4);
Tailwind
colors: {
  custom: {
    50: '#5f7d52',
    500: '#1d4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a0f;
$custom-light: #5f7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a0f",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 105.763,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36386,
    "c": 0.10076,
    "h": 139.4
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#1D4A0F
secondary
#703084
accent
#3FE9C1
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1D4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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