#786F54#786F54

#786F54 is a mid, muted yellow. Relative luminance 0.160; OKLCH L 54.3% C 0.041 H 91.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#786F54
RGBrgb(120, 111, 84)
HSLhsl(45, 18%, 40%)
HSVhsv(45, 30%, 47%)
CMYKcmyk(0%, 7.5%, 30%, 52.9%)
CIE-LABlab(46.98, -1.07, 16.34)
CIE-LCHlch(46.98, 16.37, 93.75°)
OKLaboklab(54.26% -0.0013 0.0413)
OKLCHoklch(54.26% 0.041 91.8)
XYZxyz(15.0305, 16.0024, 10.6828)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F54 #545D78
analogous
#785D54 #786F54 #6F7854
triadic
#786F54 #54786F #6F5478
tetradic
#786F54 #54785D #545D78 #78546F
square
#786F54 #54785D #545D78 #78546F
split-complementary
#786F54 #546F78 #5D5478
monochromatic
#302C22 #544E3B #786F54 #9A8F6F #B3AB93

Accessibility & contrast

On white

5.00
#786F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#786F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F54
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F54#FFFFFF#000000##FFFFFF
##786F541.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756E52
Deuteranopia (green-blind)
#777155
Tritanopia (blue-blind)
#7E6B68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f54;
/* rgb */ color: rgb(120, 111, 84);
/* oklch */ color: oklch(54.3% 0.041 91.8);
Tailwind
colors: {
  custom: {
    50: '#9f9884',
    500: '#786f54',
    950: '#000000',
  },
}
SCSS
$custom: #786f54;
$custom-light: #9f9884;
$custom-dark: #000000;
JSON
{
  "hex": "#786f54",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 84
  },
  "hsl": {
    "h": 45,
    "s": 17.647,
    "l": 40
  },
  "oklch": {
    "l": 0.54257,
    "c": 0.04128,
    "h": 91.8
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#786F54
secondary
#878DA1
accent
#81BA6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0D0B
muted
#7E7E7C

Preview Lab

Preview with #786F54

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

Preview Lab → · Contrast checker → · Palette generator →

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