#79794C#79794C

#79794C is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.064 H 108.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#79794C
RGBrgb(121, 121, 76)
HSLhsl(60, 23%, 39%)
HSVhsv(60, 37%, 47%)
CMYKcmyk(0%, 0%, 37.2%, 52.5%)
CIE-LABlab(49.81, -7.44, 24.71)
CIE-LCHlch(49.81, 25.81, 106.75°)
OKLaboklab(56.47% -0.0201 0.0607)
OKLCHoklch(56.47% 0.064 108.3)
XYZxyz(16.0272, 18.2618, 9.5167)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79794C #4C4C79
analogous
#79624C #79794C #62794C
triadic
#79794C #4C7979 #794C79
tetradic
#79794C #4C7962 #4C4C79 #794C62
square
#79794C #4C7962 #4C4C79 #794C62
split-complementary
#79794C #4C6279 #624C79
monochromatic
#2E2E1D #535334 #79794C #9E9E64 #B5B58A

Accessibility & contrast

On white

4.51
#79794C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#79794C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79794C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79794C#FFFFFF#000000##000000
##79794C1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#807549
Deuteranopia (green-blind)
#81774E
Tritanopia (blue-blind)
#7F746E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #79794c;
/* rgb */ color: rgb(121, 121, 76);
/* oklch */ color: oklch(56.5% 0.064 108.3);
Tailwind
colors: {
  custom: {
    50: '#a09f7e',
    500: '#79794c',
    950: '#000000',
  },
}
SCSS
$custom: #79794c;
$custom-light: #a09f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#79794c",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 22.843,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.06397,
    "h": 108.3
  },
  "luminance": 0.18261
}

Semantic roles & 50–950 ramp

primary
#79794C
secondary
#7F7FA2
accent
#68BF68
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #79794C

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

Preview Lab → · Contrast checker → · Palette generator →

#79794C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva