#79804D#79804D

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

Color values

HEX#79804D
RGBrgb(121, 128, 77)
HSLhsl(68, 25%, 40%)
HSVhsv(68, 40%, 50%)
CMYKcmyk(5.5%, 0%, 39.8%, 49.8%)
CIE-LABlab(51.88, -11.19, 26.82)
CIE-LCHlch(51.88, 29.06, 112.65°)
OKLaboklab(58.13% -0.0307 0.0656)
OKLCHoklch(58.13% 0.072 115.1)
XYZxyz(16.9440, 20.0393, 9.9951)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79804D #544D80
analogous
#806D4D #79804D #60804D
triadic
#79804D #4D7980 #804D79
tetradic
#79804D #4D806D #544D80 #804D60
square
#79804D #4D806D #544D80 #804D60
split-complementary
#79804D #4D6080 #6D4D80
monochromatic
#31341F #555A36 #79804D #9BA367 #B4BA8D

Accessibility & contrast

On white

4.19
#79804D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#79804D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79804D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79804D#FFFFFF#000000##000000
##79804D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B49
Deuteranopia (green-blind)
#867C4F
Tritanopia (blue-blind)
#7E7B73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79804d;
/* rgb */ color: rgb(121, 128, 77);
/* oklch */ color: oklch(58.1% 0.072 115.1);
Tailwind
colors: {
  custom: {
    50: '#a0a47f',
    500: '#79804d',
    950: '#000000',
  },
}
SCSS
$custom: #79804d;
$custom-light: #a0a47f;
$custom-dark: #000000;
JSON
{
  "hex": "#79804d",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 77
  },
  "hsl": {
    "h": 68.235,
    "s": 24.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58126,
    "c": 0.07244,
    "h": 115.1
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#79804D
secondary
#8782A7
accent
#67C173
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #79804D

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

Preview Lab → · Contrast checker → · Palette generator →

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