#1D3103#1D3103

#1D3103 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.5% C 0.073 H 130.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#1D3103
RGBrgb(29, 49, 3)
HSLhsl(86, 88%, 10%)
HSVhsv(86, 94%, 19%)
CMYKcmyk(40.8%, 0%, 93.9%, 80.8%)
CIE-LABlab(17.76, -16.79, 23.80)
CIE-LCHlch(17.76, 29.13, 125.20°)
OKLaboklab(28.54% -0.0479 0.0558)
OKLCHoklch(28.54% 0.073 130.7)
XYZxyz(1.6214, 2.4644, 0.4764)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3103 #170331
analogous
#312E03 #1D3103 #063103
triadic
#1D3103 #031D31 #31031D
tetradic
#1D3103 #03312E #170331 #310306
square
#1D3103 #03312E #170331 #310306
split-complementary
#1D3103 #030631 #2E0331
monochromatic
#111D02 #111D02 #1D3103 #3F6B07 #61A40A

Accessibility & contrast

On white

14.07
#1D3103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D3103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3103
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3103#FFFFFF#000000##FFFFFF
##1D31031.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342C00
Deuteranopia (green-blind)
#312B07
Tritanopia (blue-blind)
#1E2E28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d3103;
/* rgb */ color: rgb(29, 49, 3);
/* oklch */ color: oklch(28.5% 0.073 130.7);
Tailwind
colors: {
  custom: {
    50: '#5b6948',
    500: '#1d3103',
    950: '#000000',
  },
}
SCSS
$custom: #1d3103;
$custom-light: #5b6948;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3103",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 86.087,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28538,
    "c": 0.07349,
    "h": 130.7
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#1D3103
secondary
#421B74
accent
#29FF86
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1D3103

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

Preview Lab → · Contrast checker → · Palette generator →

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