#7A791C#7A791C

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

Color values

HEX#7A791C
RGBrgb(122, 121, 28)
HSLhsl(59, 63%, 29%)
HSVhsv(59, 77%, 48%)
CMYKcmyk(0%, 0.8%, 77%, 52.2%)
CIE-LABlab(49.37, -11.13, 47.59)
CIE-LCHlch(49.37, 48.87, 103.16°)
OKLaboklab(55.97% -0.0357 0.1045)
OKLCHoklch(55.97% 0.11 108.9)
XYZxyz(15.0736, 17.8966, 3.7588)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A791C #1C1D7A
analogous
#7A4A1C #7A791C #4C7A1C
triadic
#7A791C #1C7A79 #791C7A
tetradic
#7A791C #1C7A4A #1C1D7A #7A1C4C
square
#7A791C #1C7A4A #1C1D7A #7A1C4C
split-complementary
#7A791C #1C4C7A #4A1C7A
monochromatic
#191906 #484811 #7A791C #ACAA27 #D3D13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A791C#FFFFFF#000000##FFFFFF
##7A791C1.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)
#837407
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a791c;
/* rgb */ color: rgb(122, 121, 28);
/* oklch */ color: oklch(56.0% 0.110 108.9);
Tailwind
colors: {
  custom: {
    50: '#a49f60',
    500: '#7a791c',
    950: '#000000',
  },
}
SCSS
$custom: #7a791c;
$custom-light: #a49f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a791c",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 59.362,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.11045,
    "h": 108.9
  },
  "luminance": 0.17896
}

Semantic roles & 50–950 ramp

primary
#7A791C
secondary
#4445AE
accent
#44E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A791C

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

Preview Lab → · Contrast checker → · Palette generator →

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