#79791C#79791C

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

Color values

HEX#79791C
RGBrgb(121, 121, 28)
HSLhsl(60, 62%, 29%)
HSVhsv(60, 77%, 47%)
CMYKcmyk(0%, 0%, 76.9%, 52.5%)
CIE-LABlab(49.28, -11.59, 47.47)
CIE-LCHlch(49.28, 48.87, 103.72°)
OKLaboklab(55.88% -0.0369 0.1043)
OKLCHoklch(55.88% 0.111 109.5)
XYZxyz(14.9327, 17.8240, 3.7522)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79791C #1C1C79
analogous
#794B1C #79791C #4B791C
triadic
#79791C #1C7979 #791C79
tetradic
#79791C #1C794B #1C1C79 #791C4B
square
#79791C #1C794B #1C1C79 #791C4B
split-complementary
#79791C #1C4B79 #4B1C79
monochromatic
#191906 #474710 #79791C #ABAB28 #D2D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79791C#FFFFFF#000000##FFFFFF
##79791C1.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)
#837407
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#827167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #79791c;
/* rgb */ color: rgb(121, 121, 28);
/* oklch */ color: oklch(55.9% 0.111 109.5);
Tailwind
colors: {
  custom: {
    50: '#a39f60',
    500: '#79791c',
    950: '#000000',
  },
}
SCSS
$custom: #79791c;
$custom-light: #a39f60;
$custom-dark: #000000;
JSON
{
  "hex": "#79791c",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.11067,
    "h": 109.5
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#79791C
secondary
#4444AD
accent
#42E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79791C

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

Preview Lab → · Contrast checker → · Palette generator →

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