#7B785C#7B785C

#7B785C is a mid, muted yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.041 H 102.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B785C
RGBrgb(123, 120, 92)
HSLhsl(54, 14%, 42%)
HSVhsv(54, 25%, 48%)
CMYKcmyk(0%, 2.4%, 25.2%, 51.8%)
CIE-LABlab(50.00, -3.78, 15.84)
CIE-LCHlch(50.00, 16.28, 103.42°)
OKLaboklab(56.76% -0.0089 0.0402)
OKLCHoklch(56.76% 0.041 102.5)
XYZxyz(16.8166, 18.4169, 12.7921)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B785C #5C5F7B
analogous
#7B695C #7B785C #6F7B5C
triadic
#7B785C #5C7B78 #785C7B
tetradic
#7B785C #5C7B69 #5C5F7B #7B5C6F
square
#7B785C #5C7B69 #5C5F7B #7B5C6F
split-complementary
#7B785C #5C6F7B #695C7B
monochromatic
#353428 #585642 #7B785C #9B9879 #B5B39C

Accessibility & contrast

On white

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

On black

4.68
#7B785C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B785C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B785C#FFFFFF#000000##000000
##7B785C1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D765A
Deuteranopia (green-blind)
#7E785D
Tritanopia (blue-blind)
#807470
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b785c;
/* rgb */ color: rgb(123, 120, 92);
/* oklch */ color: oklch(56.8% 0.041 102.5);
Tailwind
colors: {
  custom: {
    50: '#a19e8a',
    500: '#7b785c',
    950: '#000000',
  },
}
SCSS
$custom: #7b785c;
$custom-light: #a19e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b785c",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 92
  },
  "hsl": {
    "h": 54.194,
    "s": 14.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56762,
    "c": 0.04114,
    "h": 102.5
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

primary
#7B785C
secondary
#8F91A4
accent
#77B771
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0F0E0B
muted
#7E7E7C

Preview Lab

Preview with #7B785C

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

Preview Lab → · Contrast checker → · Palette generator →

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