#79791E#79791E

#79791E 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#79791E
RGBrgb(121, 121, 30)
HSLhsl(60, 60%, 30%)
HSVhsv(60, 75%, 47%)
CMYKcmyk(0%, 0%, 75.2%, 52.5%)
CIE-LABlab(49.29, -11.49, 46.75)
CIE-LCHlch(49.29, 48.14, 103.81°)
OKLaboklab(55.89% -0.0365 0.1032)
OKLCHoklch(55.89% 0.109 109.5)
XYZxyz(14.9574, 17.8339, 3.8824)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79791E #1E1E79
analogous
#794C1E #79791E #4C791E
triadic
#79791E #1E7979 #791E79
tetradic
#79791E #1E794C #1E1E79 #791E4C
square
#79791E #1E794C #1E1E79 #791E4C
split-complementary
#79791E #1E4C79 #4C1E79
monochromatic
#191906 #484812 #79791E #AAAA2A #D0D041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79791E#FFFFFF#000000##FFFFFF
##79791E1.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)
#83740C
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#827168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #79791e;
/* rgb */ color: rgb(121, 121, 30);
/* oklch */ color: oklch(55.9% 0.109 109.5);
Tailwind
colors: {
  custom: {
    50: '#a39f61',
    500: '#79791e',
    950: '#000000',
  },
}
SCSS
$custom: #79791e;
$custom-light: #a39f61;
$custom-dark: #000000;
JSON
{
  "hex": "#79791e",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.10943,
    "h": 109.5
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#79791E
secondary
#4646AD
accent
#44E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #79791E

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

Preview Lab → · Contrast checker → · Palette generator →

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