#7B791A#7B791A

#7B791A is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.111 H 108.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7B791A
RGBrgb(123, 121, 26)
HSLhsl(59, 65%, 29%)
HSVhsv(59, 79%, 48%)
CMYKcmyk(0%, 1.6%, 78.9%, 51.8%)
CIE-LABlab(49.45, -10.75, 48.39)
CIE-LCHlch(49.45, 49.57, 102.53°)
OKLaboklab(56.05% -0.0349 0.1058)
OKLCHoklch(56.05% 0.111 108.3)
XYZxyz(15.1928, 17.9608, 3.6436)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B791A #1A1C7B
analogous
#7B491A #7B791A #4D7B1A
triadic
#7B791A #1A7B79 #791A7B
tetradic
#7B791A #1A7B49 #1A1C7B #7B1A4D
square
#7B791A #1A7B49 #1A1C7B #7B1A4D
split-complementary
#7B791A #1A4D7B #491A7B
monochromatic
#191905 #48470F #7B791A #AEAB25 #D5D23A

Accessibility & contrast

On white

4.57
#7B791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7B791A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B791A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B791A#FFFFFF#000000##000000
##7B791A1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#847167
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b791a;
/* rgb */ color: rgb(123, 121, 26);
/* oklch */ color: oklch(56.1% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#a49f5f',
    500: '#7b791a',
    950: '#000000',
  },
}
SCSS
$custom: #7b791a;
$custom-light: #a49f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b791a",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 58.763,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56053,
    "c": 0.11141,
    "h": 108.3
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

primary
#7B791A
secondary
#4244AF
accent
#43E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B791A

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

Preview Lab → · Contrast checker → · Palette generator →

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