#78794F#78794F

#78794F is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.060 H 109.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#78794F
RGBrgb(120, 121, 79)
HSLhsl(61, 21%, 39%)
HSVhsv(61, 35%, 47%)
CMYKcmyk(0.8%, 0%, 34.7%, 52.5%)
CIE-LABlab(49.78, -7.48, 22.96)
CIE-LCHlch(49.78, 24.14, 108.04°)
OKLaboklab(56.44% -0.0199 0.0568)
OKLCHoklch(56.44% 0.06 109.3)
XYZxyz(15.9945, 18.2326, 10.0723)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78794F #504F79
analogous
#79654F #78794F #63794F
triadic
#78794F #4F7879 #794F78
tetradic
#78794F #4F7965 #504F79 #794F63
square
#78794F #4F7965 #504F79 #794F63
split-complementary
#78794F #4F6379 #654F79
monochromatic
#2F2F1F #535437 #78794F #9B9D68 #B4B58E

Accessibility & contrast

On white

4.52
#78794F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#78794F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78794F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78794F#FFFFFF#000000##000000
##78794F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F764C
Deuteranopia (green-blind)
#807751
Tritanopia (blue-blind)
#7E746E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #78794f;
/* rgb */ color: rgb(120, 121, 79);
/* oklch */ color: oklch(56.4% 0.060 109.3);
Tailwind
colors: {
  custom: {
    50: '#9f9f81',
    500: '#78794f',
    950: '#000000',
  },
}
SCSS
$custom: #78794f;
$custom-light: #9f9f81;
$custom-dark: #000000;
JSON
{
  "hex": "#78794f",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 61.429,
    "s": 21,
    "l": 39.216
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.0602,
    "h": 109.3
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#78794F
secondary
#8382A2
accent
#6ABE6C
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0E0A
muted
#7E7E7C

Preview Lab

Preview with #78794F

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

Preview Lab → · Contrast checker → · Palette generator →

#78794F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva