#79791F#79791F

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

Color values

HEX#79791F
RGBrgb(121, 121, 31)
HSLhsl(60, 59%, 30%)
HSVhsv(60, 74%, 47%)
CMYKcmyk(0%, 0%, 74.4%, 52.5%)
CIE-LABlab(49.30, -11.44, 46.37)
CIE-LCHlch(49.30, 47.77, 103.86°)
OKLaboklab(55.9% -0.0362 0.1026)
OKLCHoklch(55.9% 0.109 109.5)
XYZxyz(14.9704, 17.8391, 3.9508)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79791F #1F1F79
analogous
#794C1F #79791F #4C791F
triadic
#79791F #1F7979 #791F79
tetradic
#79791F #1F794C #1F1F79 #791F4C
square
#79791F #1F794C #1F1F79 #791F4C
split-complementary
#79791F #1F4C79 #4C1F79
monochromatic
#181806 #484813 #79791F #AAAA2B #CFCF43

Accessibility & contrast

On white

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

On black

4.57
#79791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##79791F#FFFFFF#000000##FFFFFF
##79791F1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740E
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#827168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #79791f;
/* rgb */ color: rgb(121, 121, 31);
/* oklch */ color: oklch(55.9% 0.109 109.5);
Tailwind
colors: {
  custom: {
    50: '#a39f62',
    500: '#79791f',
    950: '#000000',
  },
}
SCSS
$custom: #79791f;
$custom-light: #a39f62;
$custom-dark: #000000;
JSON
{
  "hex": "#79791f",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.559,
    "c": 0.10879,
    "h": 109.5
  },
  "luminance": 0.17839
}

Semantic roles & 50–950 ramp

primary
#79791F
secondary
#4747AC
accent
#45E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #79791F

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

Preview Lab → · Contrast checker → · Palette generator →

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