#786E50#786E50

#786E50 is a mid, muted yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.046 H 91.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#786E50
RGBrgb(120, 110, 80)
HSLhsl(45, 20%, 39%)
HSVhsv(45, 33%, 47%)
CMYKcmyk(0%, 8.3%, 33.3%, 52.9%)
CIE-LABlab(46.61, -1.06, 18.18)
CIE-LCHlch(46.61, 18.21, 93.34°)
OKLaboklab(53.94% -0.0014 0.0456)
OKLCHoklch(53.94% 0.046 91.8)
XYZxyz(14.7698, 15.7245, 9.8450)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E50 #505A78
analogous
#785A50 #786E50 #6E7850
triadic
#786E50 #50786E #6E5078
tetradic
#786E50 #50785A #505A78 #78506E
square
#786E50 #50785A #505A78 #78506E
split-complementary
#786E50 #506E78 #5A5078
monochromatic
#2F2B1F #534C38 #786E50 #9B8F6A #B4AB8E

Accessibility & contrast

On white

5.07
#786E50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#786E50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E50
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E50#FFFFFF#000000##FFFFFF
##786E501.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756D4E
Deuteranopia (green-blind)
#777051
Tritanopia (blue-blind)
#7E6966
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786e50;
/* rgb */ color: rgb(120, 110, 80);
/* oklch */ color: oklch(53.9% 0.046 91.8);
Tailwind
colors: {
  custom: {
    50: '#9f9781',
    500: '#786e50',
    950: '#000000',
  },
}
SCSS
$custom: #786e50;
$custom-light: #9f9781;
$custom-dark: #000000;
JSON
{
  "hex": "#786e50",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 80
  },
  "hsl": {
    "h": 45,
    "s": 20,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.04561,
    "h": 91.8
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#786E50
secondary
#838AA1
accent
#80BD6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0D0A
muted
#7E7E7C

Preview Lab

Preview with #786E50

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

Preview Lab → · Contrast checker → · Palette generator →

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