#786D1D#786D1D

#786D1D is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.0% C 0.098 H 101.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#786D1D
RGBrgb(120, 109, 29)
HSLhsl(53, 61%, 29%)
HSVhsv(53, 76%, 47%)
CMYKcmyk(0%, 9.2%, 75.8%, 52.9%)
CIE-LABlab(45.66, -5.31, 43.62)
CIE-LCHlch(45.66, 43.94, 96.94°)
OKLaboklab(52.98% -0.0191 0.0964)
OKLCHoklch(52.98% 0.098 101.2)
XYZxyz(13.4368, 15.0197, 3.3535)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D1D #1D2878
analogous
#78401D #786D1D #56781D
triadic
#786D1D #1D786D #6D1D78
tetradic
#786D1D #1D7840 #1D2878 #781D56
square
#786D1D #1D7840 #1D2878 #781D56
split-complementary
#786D1D #1D5678 #401D78
monochromatic
#191606 #474011 #786D1D #A99A29 #D1BF3F

Accessibility & contrast

On white

5.25
#786D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#786D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D1D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D1D#FFFFFF#000000##FFFFFF
##786D1D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0F
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#82655D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #786d1d;
/* rgb */ color: rgb(120, 109, 29);
/* oklch */ color: oklch(53.0% 0.098 101.2);
Tailwind
colors: {
  custom: {
    50: '#a2965f',
    500: '#786d1d',
    950: '#000000',
  },
}
SCSS
$custom: #786d1d;
$custom-light: #a2965f;
$custom-dark: #000000;
JSON
{
  "hex": "#786d1d",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 52.747,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.09827,
    "h": 101.2
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#786D1D
secondary
#4551AC
accent
#57E444
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786D1D

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

Preview Lab → · Contrast checker → · Palette generator →

#786D1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva