#7B784F#7B784F

#7B784F is a mid, muted yellow. Relative luminance 0.182; OKLCH L 56.5% C 0.059 H 104.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B784F
RGBrgb(123, 120, 79)
HSLhsl(56, 22%, 40%)
HSVhsv(56, 36%, 48%)
CMYKcmyk(0%, 2.4%, 35.8%, 51.8%)
CIE-LABlab(49.75, -5.63, 22.97)
CIE-LCHlch(49.75, 23.65, 103.77°)
OKLaboklab(56.48% -0.0147 0.0568)
OKLCHoklch(56.48% 0.059 104.5)
XYZxyz(16.2963, 18.2088, 10.0518)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B784F #4F527B
analogous
#7B624F #7B784F #687B4F
triadic
#7B784F #4F7B78 #784F7B
tetradic
#7B784F #4F7B62 #4F527B #7B4F68
square
#7B784F #4F7B62 #4F527B #7B4F68
split-complementary
#7B784F #4F687B #624F7B
monochromatic
#302F1F #565437 #7B784F #9E9B69 #B6B48E

Accessibility & contrast

On white

4.52
#7B784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B784F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B784F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B784F#FFFFFF#000000##000000
##7B784F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F754C
Deuteranopia (green-blind)
#807751
Tritanopia (blue-blind)
#81736E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b784f;
/* rgb */ color: rgb(123, 120, 79);
/* oklch */ color: oklch(56.5% 0.059 104.5);
Tailwind
colors: {
  custom: {
    50: '#a29e81',
    500: '#7b784f',
    950: '#000000',
  },
}
SCSS
$custom: #7b784f;
$custom-light: #a29e81;
$custom-dark: #000000;
JSON
{
  "hex": "#7b784f",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 55.909,
    "s": 21.782,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56482,
    "c": 0.05869,
    "h": 104.5
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

primary
#7B784F
secondary
#8285A3
accent
#6FBE69
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7B784F

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

Preview Lab → · Contrast checker → · Palette generator →

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