#786D1E#786D1E

#786D1E 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.24:1 contrast (WCAG AA passes).

Color values

HEX#786D1E
RGBrgb(120, 109, 30)
HSLhsl(53, 60%, 29%)
HSVhsv(53, 75%, 47%)
CMYKcmyk(0%, 9.2%, 75%, 52.9%)
CIE-LABlab(45.67, -5.26, 43.22)
CIE-LCHlch(45.67, 43.54, 96.94°)
OKLaboklab(52.98% -0.0189 0.0958)
OKLCHoklch(52.98% 0.098 101.2)
XYZxyz(13.4493, 15.0247, 3.4197)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D1E #1E2978
analogous
#78401E #786D1E #56781E
triadic
#786D1E #1E786D #6D1E78
tetradic
#786D1E #1E7840 #1E2978 #781E56
square
#786D1E #1E7840 #1E2978 #781E56
split-complementary
#786D1E #1E5678 #401E78
monochromatic
#181606 #474112 #786D1E #A9992A #CFBE41

Accessibility & contrast

On white

5.24
#786D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786D1E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D1E#FFFFFF#000000##FFFFFF
##786D1E1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786d1e;
/* rgb */ color: rgb(120, 109, 30);
/* oklch */ color: oklch(53.0% 0.098 101.2);
Tailwind
colors: {
  custom: {
    50: '#a29660',
    500: '#786d1e',
    950: '#000000',
  },
}
SCSS
$custom: #786d1e;
$custom-light: #a29660;
$custom-dark: #000000;
JSON
{
  "hex": "#786d1e",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 52.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.0976,
    "h": 101.2
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

primary
#786D1E
secondary
#4653AC
accent
#58E345
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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