#1D3307#1D3307

#1D3307 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.2% C 0.073 H 132.6°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1D3307
RGBrgb(29, 51, 7)
HSLhsl(90, 76%, 11%)
HSVhsv(90, 86%, 20%)
CMYKcmyk(43.1%, 0%, 86.3%, 80%)
CIE-LABlab(18.56, -17.46, 23.13)
CIE-LCHlch(18.56, 28.98, 127.06°)
OKLaboklab(29.21% -0.0492 0.0535)
OKLCHoklch(29.21% 0.073 132.6)
XYZxyz(1.7288, 2.6441, 0.6202)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3307 #1D0733
analogous
#333307 #1D3307 #073307
triadic
#1D3307 #071D33 #33071D
tetradic
#1D3307 #073333 #1D0733 #330707
square
#1D3307 #073333 #1D0733 #330707
split-complementary
#1D3307 #070733 #330733
monochromatic
#0F1B04 #0F1B04 #1D3307 #3C690E #5A9F16

Accessibility & contrast

On white

13.74
#1D3307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D3307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3307
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3307#FFFFFF#000000##FFFFFF
##1D33071.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E02
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#1D312A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d3307;
/* rgb */ color: rgb(29, 51, 7);
/* oklch */ color: oklch(29.2% 0.073 132.6);
Tailwind
colors: {
  custom: {
    50: '#5b6b4a',
    500: '#1d3307',
    950: '#000000',
  },
}
SCSS
$custom: #1d3307;
$custom-light: #5b6b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3307",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 90,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29205,
    "c": 0.07269,
    "h": 132.6
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#1D3307
secondary
#4B2373
accent
#35F294
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D3307

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

Preview Lab → · Contrast checker → · Palette generator →

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