#7A785D#7A785D

#7A785D is a mid, muted yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.040 H 104.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7A785D
RGBrgb(122, 120, 93)
HSLhsl(56, 13%, 42%)
HSVhsv(56, 24%, 48%)
CMYKcmyk(0%, 1.6%, 23.8%, 52.2%)
CIE-LABlab(49.93, -4.04, 15.15)
CIE-LCHlch(49.93, 15.68, 104.92°)
OKLaboklab(56.69% -0.0096 0.0385)
OKLCHoklch(56.69% 0.04 104.1)
XYZxyz(16.7183, 18.3611, 13.0171)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A785D #5D5F7A
analogous
#7A6A5D #7A785D #6E7A5D
triadic
#7A785D #5D7A78 #785D7A
tetradic
#7A785D #5D7A6A #5D5F7A #7A5D6E
square
#7A785D #5D7A6A #5D5F7A #7A5D6E
split-complementary
#7A785D #5D6E7A #6A5D7A
monochromatic
#353428 #575643 #7A785D #9A987A #B4B39D

Accessibility & contrast

On white

4.49
#7A785D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7A785D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A785D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A785D#FFFFFF#000000##000000
##7A785D1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D765B
Deuteranopia (green-blind)
#7E775E
Tritanopia (blue-blind)
#7E7471
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a785d;
/* rgb */ color: rgb(122, 120, 93);
/* oklch */ color: oklch(56.7% 0.040 104.1);
Tailwind
colors: {
  custom: {
    50: '#a09e8b',
    500: '#7a785d',
    950: '#000000',
  },
}
SCSS
$custom: #7a785d;
$custom-light: #a09e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a785d",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 93
  },
  "hsl": {
    "h": 55.862,
    "s": 13.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.03969,
    "h": 104.1
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#7A785D
secondary
#9091A3
accent
#76B671
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0F0E0C
muted
#7E7E7D

Preview Lab

Preview with #7A785D

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

Preview Lab → · Contrast checker → · Palette generator →

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