#786F44#786F44

#786F44 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.062 H 97.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#786F44
RGBrgb(120, 111, 68)
HSLhsl(50, 28%, 37%)
HSVhsv(50, 43%, 47%)
CMYKcmyk(0%, 7.5%, 43.3%, 52.9%)
CIE-LABlab(46.68, -3.19, 25.19)
CIE-LCHlch(46.68, 25.39, 97.21°)
OKLaboklab(53.93% -0.0084 0.0614)
OKLCHoklch(53.93% 0.062 97.8)
XYZxyz(14.4739, 15.7798, 7.7511)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F44 #444D78
analogous
#785544 #786F44 #677844
triadic
#786F44 #44786F #6F4478
tetradic
#786F44 #447855 #444D78 #784467
square
#786F44 #447855 #444D78 #784467
split-complementary
#786F44 #446778 #554478
monochromatic
#2A2718 #514B2E #786F44 #9F935A #B7AD80

Accessibility & contrast

On white

5.05
#786F44 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#786F44 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F44
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F44#FFFFFF#000000##FFFFFF
##786F441.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D41
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#7F6964
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f44;
/* rgb */ color: rgb(120, 111, 68);
/* oklch */ color: oklch(53.9% 0.062 97.8);
Tailwind
colors: {
  custom: {
    50: '#a09878',
    500: '#786f44',
    950: '#000000',
  },
}
SCSS
$custom: #786f44;
$custom-light: #a09878;
$custom-dark: #000000;
JSON
{
  "hex": "#786f44",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 68
  },
  "hsl": {
    "h": 49.615,
    "s": 27.66,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.06201,
    "h": 97.8
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#786F44
secondary
#767DA2
accent
#74C464
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786F44

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

Preview Lab → · Contrast checker → · Palette generator →

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