#1D340F#1D340F

#1D340F is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.6% C 0.067 H 135.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1D340F
RGBrgb(29, 52, 15)
HSLhsl(97, 55%, 13%)
HSVhsv(97, 71%, 20%)
CMYKcmyk(44.2%, 0%, 71.2%, 79.6%)
CIE-LABlab(19.02, -17.16, 20.11)
CIE-LCHlch(19.02, 26.43, 130.48°)
OKLaboklab(29.61% -0.0476 0.047)
OKLCHoklch(29.61% 0.067 135.4)
XYZxyz(1.8209, 2.7516, 0.8870)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D340F #260F34
analogous
#2F340F #1D340F #0F3413
triadic
#1D340F #0F1D34 #340F1D
tetradic
#1D340F #0F2F34 #260F34 #34130F
square
#1D340F #0F2F34 #260F34 #34130F
split-complementary
#1D340F #130F34 #340F2F
monochromatic
#0D1807 #0D1807 #1D340F #37631D #52932A

Accessibility & contrast

On white

13.54
#1D340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D340F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D340F#FFFFFF#000000##FFFFFF
##1D340F1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0B
Deuteranopia (green-blind)
#332D12
Tritanopia (blue-blind)
#1C322C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d340f;
/* rgb */ color: rgb(29, 52, 15);
/* oklch */ color: oklch(29.6% 0.067 135.4);
Tailwind
colors: {
  custom: {
    50: '#5b6b4f',
    500: '#1d340f',
    950: '#000000',
  },
}
SCSS
$custom: #1d340f;
$custom-light: #5b6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d340f",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 97.297,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29608,
    "c": 0.06687,
    "h": 135.4
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#1D340F
secondary
#57316E
accent
#49DFA6
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1D340F

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

Preview Lab → · Contrast checker → · Palette generator →

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