#1D3907#1D3907

#1D3907 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.082 H 134.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1D3907
RGBrgb(29, 57, 7)
HSLhsl(94, 78%, 13%)
HSVhsv(94, 88%, 22%)
CMYKcmyk(49.1%, 0%, 87.7%, 77.6%)
CIE-LABlab(20.84, -20.56, 25.73)
CIE-LCHlch(20.84, 32.93, 128.63°)
OKLaboklab(31.07% -0.0576 0.0582)
OKLCHoklch(31.07% 0.082 134.7)
XYZxyz(2.0081, 3.2027, 0.7133)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3907 #230739
analogous
#363907 #1D3907 #07390A
triadic
#1D3907 #071D39 #39071D
tetradic
#1D3907 #073639 #230739 #390A07
square
#1D3907 #073639 #230739 #390A07
split-complementary
#1D3907 #0A0739 #390736
monochromatic
#0E1B03 #0E1B03 #1D3907 #39700E #54A614

Accessibility & contrast

On white

12.80
#1D3907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D3907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3907
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3907#FFFFFF#000000##FFFFFF
##1D39071.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3401
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#1C3630
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d3907;
/* rgb */ color: rgb(29, 57, 7);
/* oklch */ color: oklch(31.1% 0.082 134.7);
Tailwind
colors: {
  custom: {
    50: '#5c6f4b',
    500: '#1d3907',
    950: '#000000',
  },
}
SCSS
$custom: #1d3907;
$custom-light: #5c6f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3907",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 93.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3107,
    "c": 0.08184,
    "h": 134.7
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#1D3907
secondary
#532379
accent
#33F5A0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3907

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

Preview Lab → · Contrast checker → · Palette generator →

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