#786C1E#786C1E

#786C1E is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.8% C 0.097 H 100.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#786C1E
RGBrgb(120, 108, 30)
HSLhsl(52, 60%, 29%)
HSVhsv(52, 75%, 47%)
CMYKcmyk(0%, 10%, 75%, 52.9%)
CIE-LABlab(45.38, -4.69, 42.94)
CIE-LCHlch(45.38, 43.19, 96.23°)
OKLaboklab(52.75% -0.0173 0.0952)
OKLCHoklch(52.75% 0.097 100.3)
XYZxyz(13.3433, 14.8126, 3.3843)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786C1E #1E2A78
analogous
#783F1E #786C1E #57781E
triadic
#786C1E #1E786C #6C1E78
tetradic
#786C1E #1E783F #1E2A78 #781E57
square
#786C1E #1E783F #1E2A78 #781E57
split-complementary
#786C1E #1E5778 #3F1E78
monochromatic
#181606 #474012 #786C1E #A9982A #CFBC41

Accessibility & contrast

On white

5.30
#786C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#786C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786C1E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786C1E#FFFFFF#000000##FFFFFF
##786C1E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776911
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#82645D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #786c1e;
/* rgb */ color: rgb(120, 108, 30);
/* oklch */ color: oklch(52.8% 0.097 100.3);
Tailwind
colors: {
  custom: {
    50: '#a29560',
    500: '#786c1e',
    950: '#000000',
  },
}
SCSS
$custom: #786c1e;
$custom-light: #a29560;
$custom-dark: #000000;
JSON
{
  "hex": "#786c1e",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 52,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.0967,
    "h": 100.3
  },
  "luminance": 0.14812
}

Semantic roles & 50–950 ramp

primary
#786C1E
secondary
#4654AC
accent
#5AE345
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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