#79791A#79791A

#79791A is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.112 H 109.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#79791A
RGBrgb(121, 121, 26)
HSLhsl(60, 65%, 29%)
HSVhsv(60, 79%, 47%)
CMYKcmyk(0%, 0%, 78.5%, 52.5%)
CIE-LABlab(49.27, -11.68, 48.16)
CIE-LCHlch(49.27, 49.56, 103.63°)
OKLaboklab(55.87% -0.0374 0.1054)
OKLCHoklch(55.87% 0.112 109.5)
XYZxyz(14.9095, 17.8147, 3.6303)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79791A #1A1A79
analogous
#794A1A #79791A #4A791A
triadic
#79791A #1A7979 #791A79
tetradic
#79791A #1A794A #1A1A79 #791A4A
square
#79791A #1A794A #1A1A79 #791A4A
split-complementary
#79791A #1A4A79 #4A1A79
monochromatic
#191905 #47470F #79791A #ABAB25 #D4D439

Accessibility & contrast

On white

4.60
#79791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#79791A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #79791A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79791A#FFFFFF#000000##FFFFFF
##79791A1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837403
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#827167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #79791a;
/* rgb */ color: rgb(121, 121, 26);
/* oklch */ color: oklch(55.9% 0.112 109.5);
Tailwind
colors: {
  custom: {
    50: '#a39f5f',
    500: '#79791a',
    950: '#000000',
  },
}
SCSS
$custom: #79791a;
$custom-light: #a39f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#79791a",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.11183,
    "h": 109.5
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

primary
#79791A
secondary
#4141AD
accent
#40E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79791A

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

Preview Lab → · Contrast checker → · Palette generator →

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