#7A791A#7A791A

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

Color values

HEX#7A791A
RGBrgb(122, 121, 26)
HSLhsl(59, 65%, 29%)
HSVhsv(59, 79%, 48%)
CMYKcmyk(0%, 0.8%, 78.7%, 52.2%)
CIE-LABlab(49.36, -11.22, 48.28)
CIE-LCHlch(49.36, 49.56, 103.08°)
OKLaboklab(55.96% -0.0361 0.1056)
OKLCHoklch(55.96% 0.112 108.9)
XYZxyz(15.0504, 17.8874, 3.6369)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A791A #1A1B7A
analogous
#7A491A #7A791A #4B7A1A
triadic
#7A791A #1A7A79 #791A7A
tetradic
#7A791A #1A7A49 #1A1B7A #7A1A4B
square
#7A791A #1A7A49 #1A1B7A #7A1A4B
split-complementary
#7A791A #1A4B7A #491A7A
monochromatic
#191905 #48470F #7A791A #ACAB25 #D5D339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A791A#FFFFFF#000000##FFFFFF
##7A791A1.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)
#837403
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a791a;
/* rgb */ color: rgb(122, 121, 26);
/* oklch */ color: oklch(56.0% 0.112 108.9);
Tailwind
colors: {
  custom: {
    50: '#a49f5f',
    500: '#7a791a',
    950: '#000000',
  },
}
SCSS
$custom: #7a791a;
$custom-light: #a49f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a791a",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 59.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.11161,
    "h": 108.9
  },
  "luminance": 0.17887
}

Semantic roles & 50–950 ramp

primary
#7A791A
secondary
#4143AE
accent
#42E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A791A

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

Preview Lab → · Contrast checker → · Palette generator →

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