#1D4E0F#1D4E0F

#1D4E0F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.106 H 139.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1D4E0F
RGBrgb(29, 78, 15)
HSLhsl(107, 68%, 18%)
HSVhsv(107, 81%, 31%)
CMYKcmyk(62.8%, 0%, 80.8%, 69.4%)
CIE-LABlab(28.76, -29.52, 30.47)
CIE-LCHlch(28.76, 42.43, 134.09°)
OKLaboklab(37.61% -0.0811 0.0687)
OKLCHoklch(37.61% 0.106 139.7)
XYZxyz(3.3172, 5.7442, 1.3858)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E0F #400F4E
analogous
#3C4E0F #1D4E0F #0F4E20
triadic
#1D4E0F #0F1D4E #4E0F1D
tetradic
#1D4E0F #0F3C4E #400F4E #4E200F
square
#1D4E0F #0F3C4E #400F4E #4E200F
split-complementary
#1D4E0F #200F4E #4E0F3C
monochromatic
#0A1A05 #0A1B05 #1D4E0F #308119 #43B523

Accessibility & contrast

On white

9.77
#1D4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4E0F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E0F#FFFFFF#000000##FFFFFF
##1D4E0F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504604
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#174B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4e0f;
/* rgb */ color: rgb(29, 78, 15);
/* oklch */ color: oklch(37.6% 0.106 139.7);
Tailwind
colors: {
  custom: {
    50: '#608052',
    500: '#1d4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e0f;
$custom-light: #608052;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e0f",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 106.667,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37607,
    "c": 0.10632,
    "h": 139.7
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#1D4E0F
secondary
#753188
accent
#3DEBC4
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1D4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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