#7B791D#7B791D

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

Color values

HEX#7B791D
RGBrgb(123, 121, 29)
HSLhsl(59, 62%, 30%)
HSVhsv(59, 76%, 48%)
CMYKcmyk(0%, 1.6%, 76.4%, 51.8%)
CIE-LABlab(49.47, -10.62, 47.34)
CIE-LCHlch(49.47, 48.52, 102.64°)
OKLaboklab(56.07% -0.0342 0.1042)
OKLCHoklch(56.07% 0.11 108.2)
XYZxyz(15.2281, 17.9749, 3.8295)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B791D #1D1F7B
analogous
#7B4A1D #7B791D #4E7B1D
triadic
#7B791D #1D7B79 #791D7B
tetradic
#7B791D #1D7B4A #1D1F7B #7B1D4E
square
#7B791D #1D7B4A #1D1F7B #7B1D4E
split-complementary
#7B791D #1D4E7B #4A1D7B
monochromatic
#191806 #494811 #7B791D #ADAA29 #D2CF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B791D#FFFFFF#000000##000000
##7B791D1.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)
#84740A
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#847167
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b791d;
/* rgb */ color: rgb(123, 121, 29);
/* oklch */ color: oklch(56.1% 0.110 108.2);
Tailwind
colors: {
  custom: {
    50: '#a49f61',
    500: '#7b791d',
    950: '#000000',
  },
}
SCSS
$custom: #7b791d;
$custom-light: #a49f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b791d",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 58.723,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.10964,
    "h": 108.2
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#7B791D
secondary
#4547AF
accent
#46E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B791D

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

Preview Lab → · Contrast checker → · Palette generator →

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