#79804B#79804B

#79804B is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.075 H 114.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#79804B
RGBrgb(121, 128, 75)
HSLhsl(68, 26%, 40%)
HSVhsv(68, 41%, 50%)
CMYKcmyk(5.5%, 0%, 41.4%, 49.8%)
CIE-LABlab(51.85, -11.44, 27.88)
CIE-LCHlch(51.85, 30.13, 112.31°)
OKLaboklab(58.09% -0.0316 0.0679)
OKLCHoklch(58.09% 0.075 114.9)
XYZxyz(16.8745, 20.0115, 9.6289)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79804B #524B80
analogous
#806D4B #79804B #5E804B
triadic
#79804B #4B7980 #804B79
tetradic
#79804B #4B806D #524B80 #804B5E
square
#79804B #4B806D #524B80 #804B5E
split-complementary
#79804B #4B5E80 #6D4B80
monochromatic
#30331E #555934 #79804B #9CA464 #B4BB8B

Accessibility & contrast

On white

4.20
#79804B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#79804B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79804B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79804B#FFFFFF#000000##000000
##79804B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B47
Deuteranopia (green-blind)
#867C4D
Tritanopia (blue-blind)
#7F7A73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79804b;
/* rgb */ color: rgb(121, 128, 75);
/* oklch */ color: oklch(58.1% 0.075 114.9);
Tailwind
colors: {
  custom: {
    50: '#a0a47e',
    500: '#79804b',
    950: '#000000',
  },
}
SCSS
$custom: #79804b;
$custom-light: #a0a47e;
$custom-dark: #000000;
JSON
{
  "hex": "#79804b",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 67.925,
    "s": 26.108,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.0749,
    "h": 114.9
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#79804B
secondary
#8580A7
accent
#65C272
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #79804B

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

Preview Lab → · Contrast checker → · Palette generator →

#79804B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva