#79791B#79791B

#79791B 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#79791B
RGBrgb(121, 121, 27)
HSLhsl(60, 64%, 29%)
HSVhsv(60, 78%, 47%)
CMYKcmyk(0%, 0%, 77.7%, 52.5%)
CIE-LABlab(49.28, -11.64, 47.82)
CIE-LCHlch(49.28, 49.22, 103.68°)
OKLaboklab(55.87% -0.0372 0.1049)
OKLCHoklch(55.87% 0.111 109.5)
XYZxyz(14.9209, 17.8193, 3.6902)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79791B #1B1B79
analogous
#794A1B #79791B #4A791B
triadic
#79791B #1B7979 #791B79
tetradic
#79791B #1B794A #1B1B79 #791B4A
square
#79791B #1B794A #1B1B79 #791B4A
split-complementary
#79791B #1B4A79 #4A1B79
monochromatic
#191906 #474710 #79791B #ABAB26 #D3D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #79791b;
/* rgb */ color: rgb(121, 121, 27);
/* oklch */ color: oklch(55.9% 0.111 109.5);
Tailwind
colors: {
  custom: {
    50: '#a39f60',
    500: '#79791b',
    950: '#000000',
  },
}
SCSS
$custom: #79791b;
$custom-light: #a39f60;
$custom-dark: #000000;
JSON
{
  "hex": "#79791b",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.11125,
    "h": 109.5
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#79791B
secondary
#4343AD
accent
#41E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79791B

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

Preview Lab → · Contrast checker → · Palette generator →

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