#1D3104#1D3104

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

Color values

HEX#1D3104
RGBrgb(29, 49, 4)
HSLhsl(87, 85%, 10%)
HSVhsv(87, 92%, 19%)
CMYKcmyk(40.8%, 0%, 91.8%, 80.8%)
CIE-LABlab(17.77, -16.69, 23.41)
CIE-LCHlch(17.77, 28.75, 125.49°)
OKLaboklab(28.55% -0.0475 0.0548)
OKLCHoklch(28.55% 0.072 130.9)
XYZxyz(1.6269, 2.4665, 0.5052)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3104 #180431
analogous
#312E04 #1D3104 #063104
triadic
#1D3104 #041D31 #31041D
tetradic
#1D3104 #04312E #180431 #310406
square
#1D3104 #04312E #180431 #310406
split-complementary
#1D3104 #040631 #2E0431
monochromatic
#111C02 #111C02 #1D3104 #3E6A09 #60A20D

Accessibility & contrast

On white

14.06
#1D3104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3104
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3104#FFFFFF#000000##FFFFFF
##1D31041.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d3104;
/* rgb */ color: rgb(29, 49, 4);
/* oklch */ color: oklch(28.5% 0.072 130.9);
Tailwind
colors: {
  custom: {
    50: '#5b6949',
    500: '#1d3104',
    950: '#000000',
  },
}
SCSS
$custom: #1d3104;
$custom-light: #5b6949;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3104",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 86.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28549,
    "c": 0.07249,
    "h": 130.9
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#1D3104
secondary
#441D73
accent
#2DFB88
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D3104

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

Preview Lab → · Contrast checker → · Palette generator →

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