#7A791E#7A791E

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

Color values

HEX#7A791E
RGBrgb(122, 121, 30)
HSLhsl(59, 61%, 30%)
HSVhsv(59, 75%, 48%)
CMYKcmyk(0%, 0.8%, 75.4%, 52.2%)
CIE-LABlab(49.38, -11.03, 46.86)
CIE-LCHlch(49.38, 48.14, 103.25°)
OKLaboklab(55.99% -0.0352 0.1034)
OKLCHoklch(55.99% 0.109 108.8)
XYZxyz(15.0983, 17.9065, 3.8890)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A791E #1E1F7A
analogous
#7A4B1E #7A791E #4D7A1E
triadic
#7A791E #1E7A79 #791E7A
tetradic
#7A791E #1E7A4B #1E1F7A #7A1E4D
square
#7A791E #1E7A4B #1E1F7A #7A1E4D
split-complementary
#7A791E #1E4D7A #4B1E7A
monochromatic
#191806 #494812 #7A791E #ABAA2A #D0CF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A791E#FFFFFF#000000##000000
##7A791E1.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)
#83740C
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#837168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a791e;
/* rgb */ color: rgb(122, 121, 30);
/* oklch */ color: oklch(56.0% 0.109 108.8);
Tailwind
colors: {
  custom: {
    50: '#a39f61',
    500: '#7a791e',
    950: '#000000',
  },
}
SCSS
$custom: #7a791e;
$custom-light: #a39f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a791e",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 59.348,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.10922,
    "h": 108.8
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#7A791E
secondary
#4647AE
accent
#46E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7A791E

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

Preview Lab → · Contrast checker → · Palette generator →

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