#1D4F0F#1D4F0F

#1D4F0F is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.108 H 139.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1D4F0F
RGBrgb(29, 79, 15)
HSLhsl(107, 68%, 18%)
HSVhsv(107, 81%, 31%)
CMYKcmyk(63.3%, 0%, 81%, 69%)
CIE-LABlab(29.13, -29.95, 30.84)
CIE-LCHlch(29.13, 42.99, 134.15°)
OKLaboklab(37.91% -0.0823 0.0695)
OKLCHoklch(37.91% 0.108 139.8)
XYZxyz(3.3888, 5.8874, 1.4096)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F0F #410F4F
analogous
#3D4F0F #1D4F0F #0F4F21
triadic
#1D4F0F #0F1D4F #4F0F1D
tetradic
#1D4F0F #0F3D4F #410F4F #4F210F
square
#1D4F0F #0F3D4F #410F4F #4F210F
split-complementary
#1D4F0F #210F4F #4F0F3D
monochromatic
#091A05 #0A1C05 #1D4F0F #308219 #43B623

Accessibility & contrast

On white

9.64
#1D4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4F0F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F0F#FFFFFF#000000##FFFFFF
##1D4F0F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#174C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d4f0f;
/* rgb */ color: rgb(29, 79, 15);
/* oklch */ color: oklch(37.9% 0.108 139.8);
Tailwind
colors: {
  custom: {
    50: '#608152',
    500: '#1d4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f0f;
$custom-light: #608152;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f0f",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 106.875,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37911,
    "c": 0.10769,
    "h": 139.8
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#1D4F0F
secondary
#763189
accent
#3DEBC5
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1D4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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