#7B794B#7B794B

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

Color values

HEX#7B794B
RGBrgb(123, 121, 75)
HSLhsl(58, 24%, 39%)
HSVhsv(58, 39%, 48%)
CMYKcmyk(0%, 1.6%, 39%, 51.8%)
CIE-LABlab(49.97, -6.70, 25.51)
CIE-LCHlch(49.97, 26.38, 104.72°)
OKLaboklab(56.64% -0.0181 0.0625)
OKLCHoklch(56.64% 0.065 106.2)
XYZxyz(16.2760, 18.3941, 9.3483)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B794B #4B4D7B
analogous
#7B614B #7B794B #657B4B
triadic
#7B794B #4B7B79 #794B7B
tetradic
#7B794B #4B7B61 #4B4D7B #7B4B65
square
#7B794B #4B7B61 #4B4D7B #7B4B65
split-complementary
#7B794B #4B657B #614B7B
monochromatic
#2F2E1D #555434 #7B794B #A09D63 #B7B589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B794B#FFFFFF#000000##000000
##7B794B1.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)
#807648
Deuteranopia (green-blind)
#81784D
Tritanopia (blue-blind)
#82736E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b794b;
/* rgb */ color: rgb(123, 121, 75);
/* oklch */ color: oklch(56.6% 0.065 106.2);
Tailwind
colors: {
  custom: {
    50: '#a29f7e',
    500: '#7b794b',
    950: '#000000',
  },
}
SCSS
$custom: #7b794b;
$custom-light: #a29f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b794b",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 75
  },
  "hsl": {
    "h": 57.5,
    "s": 24.242,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.06508,
    "h": 106.2
  },
  "luminance": 0.18394
}

Semantic roles & 50–950 ramp

primary
#7B794B
secondary
#7E80A4
accent
#6BC167
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7B794B

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

Preview Lab → · Contrast checker → · Palette generator →

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