#1D3402#1D3402

#1D3402 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.079 H 131.8°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1D3402
RGBrgb(29, 52, 2)
HSLhsl(88, 93%, 11%)
HSVhsv(88, 96%, 20%)
CMYKcmyk(44.2%, 0%, 96.2%, 79.6%)
CIE-LABlab(18.89, -18.48, 25.55)
CIE-LCHlch(18.89, 31.54, 125.87°)
OKLaboklab(29.46% -0.0526 0.0588)
OKLCHoklch(29.46% 0.079 131.8)
XYZxyz(1.7456, 2.7215, 0.4907)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3402 #190234
analogous
#343202 #1D3402 #043402
triadic
#1D3402 #021D34 #34021D
tetradic
#1D3402 #023432 #190234 #340204
square
#1D3402 #023432 #190234 #340204
split-complementary
#1D3402 #020434 #320234
monochromatic
#101D01 #101D01 #1D3402 #3E6F04 #5FAA07

Accessibility & contrast

On white

13.60
#1D3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D3402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3402
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3402#FFFFFF#000000##FFFFFF
##1D34021.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#342D06
Tritanopia (blue-blind)
#1E312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d3402;
/* rgb */ color: rgb(29, 52, 2);
/* oklch */ color: oklch(29.5% 0.079 131.8);
Tailwind
colors: {
  custom: {
    50: '#5b6b48',
    500: '#1d3402',
    950: '#000000',
  },
}
SCSS
$custom: #1d3402;
$custom-light: #5b6b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3402",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 87.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29462,
    "c": 0.07889,
    "h": 131.8
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#1D3402
secondary
#451A78
accent
#29FF8B
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1D3402

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

Preview Lab → · Contrast checker → · Palette generator →

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