#7C794C#7C794C

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

Color values

HEX#7C794C
RGBrgb(124, 121, 76)
HSLhsl(56, 24%, 39%)
HSVhsv(56, 39%, 49%)
CMYKcmyk(0%, 2.4%, 38.7%, 51.4%)
CIE-LABlab(50.08, -6.14, 25.10)
CIE-LCHlch(50.08, 25.84, 103.75°)
OKLaboklab(56.75% -0.0165 0.0616)
OKLCHoklch(56.75% 0.064 105)
XYZxyz(16.4543, 18.4820, 9.5367)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C794C #4C4F7C
analogous
#7C614C #7C794C #677C4C
triadic
#7C794C #4C7C79 #794C7C
tetradic
#7C794C #4C7C61 #4C4F7C #7C4C67
square
#7C794C #4C7C61 #4C4F7C #7C4C67
split-complementary
#7C794C #4C677C #614C7C
monochromatic
#302F1D #565435 #7C794C #A09D65 #B8B58B

Accessibility & contrast

On white

4.47
#7C794C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7C794C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C794C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C794C#FFFFFF#000000##000000
##7C794C1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c794c;
/* rgb */ color: rgb(124, 121, 76);
/* oklch */ color: oklch(56.7% 0.064 105.0);
Tailwind
colors: {
  custom: {
    50: '#a39f7e',
    500: '#7c794c',
    950: '#000000',
  },
}
SCSS
$custom: #7c794c;
$custom-light: #a39f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c794c",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 56.25,
    "s": 24,
    "l": 39.216
  },
  "oklch": {
    "l": 0.56747,
    "c": 0.06379,
    "h": 105
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#7C794C
secondary
#8082A4
accent
#6DC067
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7C794C

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

Preview Lab → · Contrast checker → · Palette generator →

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