#1D3107#1D3107

#1D3107 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.6% C 0.070 H 131.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1D3107
RGBrgb(29, 49, 7)
HSLhsl(89, 75%, 11%)
HSVhsv(89, 86%, 19%)
CMYKcmyk(40.8%, 0%, 85.7%, 80.8%)
CIE-LABlab(17.80, -16.39, 22.22)
CIE-LCHlch(17.80, 27.61, 126.41°)
OKLaboklab(28.58% -0.0463 0.0519)
OKLCHoklch(28.58% 0.07 131.7)
XYZxyz(1.6433, 2.4731, 0.5917)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3107 #1B0731
analogous
#313007 #1D3107 #083107
triadic
#1D3107 #071D31 #31071D
tetradic
#1D3107 #073130 #1B0731 #310708
square
#1D3107 #073130 #1B0731 #310708
split-complementary
#1D3107 #070831 #300731
monochromatic
#101B04 #101B04 #1D3107 #3D670F #5C9C16

Accessibility & contrast

On white

14.05
#1D3107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3107
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3107#FFFFFF#000000##FFFFFF
##1D31071.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D02
Deuteranopia (green-blind)
#312B0B
Tritanopia (blue-blind)
#1E2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d3107;
/* rgb */ color: rgb(29, 49, 7);
/* oklch */ color: oklch(28.6% 0.070 131.7);
Tailwind
colors: {
  custom: {
    50: '#5b694a',
    500: '#1d3107',
    950: '#000000',
  },
}
SCSS
$custom: #1d3107;
$custom-light: #5b694a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3107",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 88.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.06955,
    "h": 131.7
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#1D3107
secondary
#482371
accent
#36F28F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D3107

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

Preview Lab → · Contrast checker → · Palette generator →

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