#79804A#79804A

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

Color values

HEX#79804A
RGBrgb(121, 128, 74)
HSLhsl(68, 27%, 40%)
HSVhsv(68, 42%, 50%)
CMYKcmyk(5.5%, 0%, 42.2%, 49.8%)
CIE-LABlab(51.83, -11.56, 28.41)
CIE-LCHlch(51.83, 30.67, 112.15°)
OKLaboklab(58.07% -0.032 0.0691)
OKLCHoklch(58.07% 0.076 114.8)
XYZxyz(16.8405, 19.9979, 9.4501)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79804A #514A80
analogous
#806C4A #79804A #5E804A
triadic
#79804A #4A7980 #804A79
tetradic
#79804A #4A806C #514A80 #804A5E
square
#79804A #4A806C #514A80 #804A5E
split-complementary
#79804A #4A5E80 #6C4A80
monochromatic
#30321D #545934 #79804A #9CA563 #B5BB89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79804A#FFFFFF#000000##000000
##79804A1.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)
#877B46
Deuteranopia (green-blind)
#877C4D
Tritanopia (blue-blind)
#7F7A73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79804a;
/* rgb */ color: rgb(121, 128, 74);
/* oklch */ color: oklch(58.1% 0.076 114.8);
Tailwind
colors: {
  custom: {
    50: '#a0a47d',
    500: '#79804a',
    950: '#000000',
  },
}
SCSS
$custom: #79804a;
$custom-light: #a0a47d;
$custom-dark: #000000;
JSON
{
  "hex": "#79804a",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 67.778,
    "s": 26.733,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.07613,
    "h": 114.8
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

primary
#79804A
secondary
#847FA7
accent
#65C371
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #79804A

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

Preview Lab → · Contrast checker → · Palette generator →

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