#7A791B#7A791B

#7A791B is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.111 H 108.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A791B
RGBrgb(122, 121, 27)
HSLhsl(59, 64%, 29%)
HSVhsv(59, 78%, 48%)
CMYKcmyk(0%, 0.8%, 77.9%, 52.2%)
CIE-LABlab(49.36, -11.17, 47.94)
CIE-LCHlch(49.36, 49.22, 103.12°)
OKLaboklab(55.97% -0.0359 0.1051)
OKLCHoklch(55.97% 0.111 108.9)
XYZxyz(15.0618, 17.8919, 3.6968)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A791B #1B1C7A
analogous
#7A4A1B #7A791B #4C7A1B
triadic
#7A791B #1B7A79 #791B7A
tetradic
#7A791B #1B7A4A #1B1C7A #7A1B4C
square
#7A791B #1B7A4A #1B1C7A #7A1B4C
split-complementary
#7A791B #1B4C7A #4A1B7A
monochromatic
#191906 #484710 #7A791B #ACAB26 #D4D23C

Accessibility & contrast

On white

4.59
#7A791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7A791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A791B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A791B#FFFFFF#000000##FFFFFF
##7A791B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837405
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a791b;
/* rgb */ color: rgb(122, 121, 27);
/* oklch */ color: oklch(56.0% 0.111 108.9);
Tailwind
colors: {
  custom: {
    50: '#a49f60',
    500: '#7a791b',
    950: '#000000',
  },
}
SCSS
$custom: #7a791b;
$custom-light: #a49f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a791b",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 59.368,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.11103,
    "h": 108.9
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#7A791B
secondary
#4344AE
accent
#43E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A791B

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

Preview Lab → · Contrast checker → · Palette generator →

#7A791B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva