#1D370D#1D370D

#1D370D is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.5% C 0.074 H 135.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#1D370D
RGBrgb(29, 55, 13)
HSLhsl(97, 62%, 13%)
HSVhsv(97, 76%, 22%)
CMYKcmyk(47.3%, 0%, 76.4%, 78.4%)
CIE-LABlab(20.13, -18.98, 22.39)
CIE-LCHlch(20.13, 29.35, 130.28°)
OKLaboklab(30.51% -0.0527 0.0516)
OKLCHoklch(30.51% 0.074 135.6)
XYZxyz(1.9455, 3.0225, 0.8616)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D370D #270D37
analogous
#32370D #1D370D #0D3712
triadic
#1D370D #0D1D37 #370D1D
tetradic
#1D370D #0D3237 #270D37 #37120D
square
#1D370D #0D3237 #270D37 #37120D
split-complementary
#1D370D #120D37 #370D32
monochromatic
#0D1906 #0D1906 #1D370D #376819 #519A24

Accessibility & contrast

On white

13.09
#1D370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D370D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D370D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D370D#FFFFFF#000000##FFFFFF
##1D370D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393208
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#1C352E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d370d;
/* rgb */ color: rgb(29, 55, 13);
/* oklch */ color: oklch(30.5% 0.074 135.6);
Tailwind
colors: {
  custom: {
    50: '#5b6e4e',
    500: '#1d370d',
    950: '#000000',
  },
}
SCSS
$custom: #1d370d;
$custom-light: #5b6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d370d",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 97.143,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30511,
    "c": 0.07377,
    "h": 135.6
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#1D370D
secondary
#582D72
accent
#43E5A7
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D370D

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

Preview Lab → · Contrast checker → · Palette generator →

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