#7B785E#7B785E

#7B785E is a mid, muted yellow. Relative luminance 0.185; OKLCH L 56.8% C 0.038 H 102.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7B785E
RGBrgb(123, 120, 94)
HSLhsl(54, 13%, 43%)
HSVhsv(54, 24%, 48%)
CMYKcmyk(0%, 2.4%, 23.6%, 51.8%)
CIE-LABlab(50.04, -3.47, 14.73)
CIE-LCHlch(50.04, 15.13, 103.25°)
OKLaboklab(56.81% -0.008 0.0375)
OKLCHoklch(56.81% 0.038 102.1)
XYZxyz(16.9052, 18.4523, 13.2586)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B785E #5E617B
analogous
#7B695E #7B785E #6F7B5E
triadic
#7B785E #5E7B78 #785E7B
tetradic
#7B785E #5E7B69 #5E617B #7B5E6F
square
#7B785E #5E7B69 #5E617B #7B5E6F
split-complementary
#7B785E #5E6F7B #695E7B
monochromatic
#363429 #585643 #7B785E #9B977C #B5B39E

Accessibility & contrast

On white

4.48
#7B785E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7B785E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B785E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B785E#FFFFFF#000000##000000
##7B785E1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D765C
Deuteranopia (green-blind)
#7E785F
Tritanopia (blue-blind)
#807471
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b785e;
/* rgb */ color: rgb(123, 120, 94);
/* oklch */ color: oklch(56.8% 0.038 102.1);
Tailwind
colors: {
  custom: {
    50: '#a19e8b',
    500: '#7b785e',
    950: '#000000',
  },
}
SCSS
$custom: #7b785e;
$custom-light: #a19e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b785e",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 53.793,
    "s": 13.364,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.03835,
    "h": 102.1
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

primary
#7B785E
secondary
#9193A4
accent
#79B672
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0F0E0C
muted
#7E7E7D

Preview Lab

Preview with #7B785E

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

Preview Lab → · Contrast checker → · Palette generator →

#7B785E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva