#7B791E#7B791E

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

Color values

HEX#7B791E
RGBrgb(123, 121, 30)
HSLhsl(59, 61%, 30%)
HSVhsv(59, 76%, 48%)
CMYKcmyk(0%, 1.6%, 75.6%, 51.8%)
CIE-LABlab(49.47, -10.57, 46.98)
CIE-LCHlch(49.47, 48.15, 102.68°)
OKLaboklab(56.08% -0.034 0.1036)
OKLCHoklch(56.08% 0.109 108.2)
XYZxyz(15.2407, 17.9799, 3.8957)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B791E #1E207B
analogous
#7B4B1E #7B791E #4E7B1E
triadic
#7B791E #1E7B79 #791E7B
tetradic
#7B791E #1E7B4B #1E207B #7B1E4E
square
#7B791E #1E7B4B #1E207B #7B1E4E
split-complementary
#7B791E #1E4E7B #4B1E7B
monochromatic
#191806 #4A4912 #7B791E #ACA92A #D1CE42

Accessibility & contrast

On white

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

On black

4.60
#7B791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B791E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B791E#FFFFFF#000000##000000
##7B791E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83740C
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b791e;
/* rgb */ color: rgb(123, 121, 30);
/* oklch */ color: oklch(56.1% 0.109 108.2);
Tailwind
colors: {
  custom: {
    50: '#a49f61',
    500: '#7b791e',
    950: '#000000',
  },
}
SCSS
$custom: #7b791e;
$custom-light: #a49f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b791e",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 58.71,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.10902,
    "h": 108.2
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#7B791E
secondary
#4649AE
accent
#47E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B791E

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

Preview Lab → · Contrast checker → · Palette generator →

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