#7A791D#7A791D

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

Color values

HEX#7A791D
RGBrgb(122, 121, 29)
HSLhsl(59, 62%, 30%)
HSVhsv(59, 76%, 48%)
CMYKcmyk(0%, 0.8%, 76.2%, 52.2%)
CIE-LABlab(49.38, -11.08, 47.23)
CIE-LCHlch(49.38, 48.51, 103.20°)
OKLaboklab(55.98% -0.0355 0.104)
OKLCHoklch(55.98% 0.11 108.8)
XYZxyz(15.0857, 17.9015, 3.8228)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A791D #1D1E7A
analogous
#7A4B1D #7A791D #4D7A1D
triadic
#7A791D #1D7A79 #791D7A
tetradic
#7A791D #1D7A4B #1D1E7A #7A1D4D
square
#7A791D #1D7A4B #1D1E7A #7A1D4D
split-complementary
#7A791D #1D4D7A #4B1D7A
monochromatic
#191906 #494811 #7A791D #ABAA29 #D2D040

Accessibility & contrast

On white

4.58
#7A791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #7A791D
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A791D#FFFFFF#000000##000000
##7A791D1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83740A
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a791d;
/* rgb */ color: rgb(122, 121, 29);
/* oklch */ color: oklch(56.0% 0.110 108.8);
Tailwind
colors: {
  custom: {
    50: '#a49f61',
    500: '#7a791d',
    950: '#000000',
  },
}
SCSS
$custom: #7a791d;
$custom-light: #a49f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a791d",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 59.355,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.10985,
    "h": 108.8
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#7A791D
secondary
#4546AE
accent
#45E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A791D

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

Preview Lab → · Contrast checker → · Palette generator →

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