#79804F#79804F

#79804F is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.070 H 115.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#79804F
RGBrgb(121, 128, 79)
HSLhsl(69, 24%, 41%)
HSVhsv(69, 38%, 50%)
CMYKcmyk(5.5%, 0%, 38.3%, 49.8%)
CIE-LABlab(51.91, -10.93, 25.75)
CIE-LCHlch(51.91, 27.98, 113.01°)
OKLaboklab(58.16% -0.0298 0.0633)
OKLCHoklch(58.16% 0.07 115.2)
XYZxyz(17.0157, 20.0680, 10.3727)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79804F #564F80
analogous
#806E4F #79804F #60804F
triadic
#79804F #4F7980 #804F79
tetradic
#79804F #4F806E #564F80 #804F60
square
#79804F #4F806E #564F80 #804F60
split-complementary
#79804F #4F6080 #6E4F80
monochromatic
#313420 #555A38 #79804F #9BA369 #B4BA8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79804F#FFFFFF#000000##000000
##79804F1.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)
#867B4B
Deuteranopia (green-blind)
#867C51
Tritanopia (blue-blind)
#7E7B74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79804f;
/* rgb */ color: rgb(121, 128, 79);
/* oklch */ color: oklch(58.2% 0.070 115.2);
Tailwind
colors: {
  custom: {
    50: '#a0a481',
    500: '#79804f',
    950: '#000000',
  },
}
SCSS
$custom: #79804f;
$custom-light: #a0a481;
$custom-dark: #000000;
JSON
{
  "hex": "#79804f",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 68.571,
    "s": 23.671,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.06994,
    "h": 115.2
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#79804F
secondary
#8984A7
accent
#68C074
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #79804F

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

Preview Lab → · Contrast checker → · Palette generator →

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