#7B784C#7B784C

#7B784C is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.063 H 104.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B784C
RGBrgb(123, 120, 76)
HSLhsl(56, 24%, 39%)
HSVhsv(56, 38%, 48%)
CMYKcmyk(0%, 2.4%, 38.2%, 51.8%)
CIE-LABlab(49.70, -6.01, 24.60)
CIE-LCHlch(49.70, 25.32, 103.74°)
OKLaboklab(56.43% -0.0161 0.0605)
OKLCHoklch(56.43% 0.063 104.9)
XYZxyz(16.1896, 18.1661, 9.4896)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B784C #4C4F7B
analogous
#7B614C #7B784C #677B4C
triadic
#7B784C #4C7B78 #784C7B
tetradic
#7B784C #4C7B61 #4C4F7B #7B4C67
square
#7B784C #4C7B61 #4C4F7B #7B4C67
split-complementary
#7B784C #4C677B #614C7B
monochromatic
#2F2E1D #555335 #7B784C #A09C65 #B7B48A

Accessibility & contrast

On white

4.53
#7B784C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7B784C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B784C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B784C#FFFFFF#000000##000000
##7B784C1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7549
Deuteranopia (green-blind)
#81774E
Tritanopia (blue-blind)
#81736D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b784c;
/* rgb */ color: rgb(123, 120, 76);
/* oklch */ color: oklch(56.4% 0.063 104.9);
Tailwind
colors: {
  custom: {
    50: '#a29e7e',
    500: '#7b784c',
    950: '#000000',
  },
}
SCSS
$custom: #7b784c;
$custom-light: #a29e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b784c",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 76
  },
  "hsl": {
    "h": 56.17,
    "s": 23.618,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56425,
    "c": 0.06256,
    "h": 104.9
  },
  "luminance": 0.18166
}

Semantic roles & 50–950 ramp

primary
#7B784C
secondary
#7F82A4
accent
#6DC068
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7B784C

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

Preview Lab → · Contrast checker → · Palette generator →

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