#786E45#786E45

#786E45 is a mid, muted yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.060 H 96.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#786E45
RGBrgb(120, 110, 69)
HSLhsl(48, 27%, 37%)
HSVhsv(48, 43%, 47%)
CMYKcmyk(0%, 8.3%, 42.5%, 52.9%)
CIE-LABlab(46.41, -2.49, 24.27)
CIE-LCHlch(46.41, 24.40, 95.86°)
OKLaboklab(53.72% -0.0063 0.0594)
OKLCHoklch(53.72% 0.06 96.1)
XYZxyz(14.3962, 15.5751, 7.8770)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E45 #454F78
analogous
#785545 #786E45 #697845
triadic
#786E45 #45786E #6E4578
tetradic
#786E45 #457855 #454F78 #784569
square
#786E45 #457855 #454F78 #784569
split-complementary
#786E45 #456978 #554578
monochromatic
#2A2718 #514A2F #786E45 #9F925B #B6AC81

Accessibility & contrast

On white

5.10
#786E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#786E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E45
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E45#FFFFFF#000000##FFFFFF
##786E451.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C42
Deuteranopia (green-blind)
#796F47
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786e45;
/* rgb */ color: rgb(120, 110, 69);
/* oklch */ color: oklch(53.7% 0.060 96.1);
Tailwind
colors: {
  custom: {
    50: '#a09779',
    500: '#786e45',
    950: '#000000',
  },
}
SCSS
$custom: #786e45;
$custom-light: #a09779;
$custom-dark: #000000;
JSON
{
  "hex": "#786e45",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 69
  },
  "hsl": {
    "h": 48.235,
    "s": 26.984,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53719,
    "c": 0.05974,
    "h": 96.1
  },
  "luminance": 0.15575
}

Semantic roles & 50–950 ramp

primary
#786E45
secondary
#777FA2
accent
#77C364
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786E45

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

Preview Lab → · Contrast checker → · Palette generator →

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