#7B794C#7B794C

#7B794C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.064 H 106.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B794C
RGBrgb(123, 121, 76)
HSLhsl(57, 24%, 39%)
HSVhsv(57, 38%, 48%)
CMYKcmyk(0%, 1.6%, 38.2%, 51.8%)
CIE-LABlab(49.99, -6.58, 24.97)
CIE-LCHlch(49.99, 25.82, 104.75°)
OKLaboklab(56.66% -0.0177 0.0613)
OKLCHoklch(56.66% 0.064 106.1)
XYZxyz(16.3105, 18.4079, 9.5299)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B794C #4C4E7B
analogous
#7B624C #7B794C #667B4C
triadic
#7B794C #4C7B79 #794C7B
tetradic
#7B794C #4C7B62 #4C4E7B #7B4C66
square
#7B794C #4C7B62 #4C4E7B #7B4C66
split-complementary
#7B794C #4C667B #624C7B
monochromatic
#2F2F1D #555435 #7B794C #A09D65 #B7B58A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B794C#FFFFFF#000000##000000
##7B794C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#807649
Deuteranopia (green-blind)
#81784E
Tritanopia (blue-blind)
#81746E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b794c;
/* rgb */ color: rgb(123, 121, 76);
/* oklch */ color: oklch(56.7% 0.064 106.1);
Tailwind
colors: {
  custom: {
    50: '#a29f7e',
    500: '#7b794c',
    950: '#000000',
  },
}
SCSS
$custom: #7b794c;
$custom-light: #a29f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b794c",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 57.447,
    "s": 23.618,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.06382,
    "h": 106.1
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#7B794C
secondary
#7F81A4
accent
#6BC068
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7B794C

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

Preview Lab → · Contrast checker → · Palette generator →

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