#7A792E#7A792E

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

Color values

HEX#7A792E
RGBrgb(122, 121, 46)
HSLhsl(59, 45%, 33%)
HSVhsv(59, 62%, 48%)
CMYKcmyk(0%, 0.8%, 62.3%, 52.2%)
CIE-LABlab(49.51, -10.03, 40.14)
CIE-LCHlch(49.51, 41.38, 104.03°)
OKLaboklab(56.13% -0.0306 0.092)
OKLCHoklch(56.13% 0.097 108.4)
XYZxyz(15.3570, 18.0100, 5.2516)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A792E #2E2F7A
analogous
#7A532E #7A792E #557A2E
triadic
#7A792E #2E7A79 #792E7A
tetradic
#7A792E #2E7A53 #2E2F7A #7A2E55
square
#7A792E #2E7A53 #2E2F7A #7A2E55
split-complementary
#7A792E #2E557A #532E7A
monochromatic
#21210C #4E4D1D #7A792E #A6A53F #C3C260

Accessibility & contrast

On white

4.56
#7A792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A792E#FFFFFF#000000##000000
##7A792E1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#827269
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a792e;
/* rgb */ color: rgb(122, 121, 46);
/* oklch */ color: oklch(56.1% 0.097 108.4);
Tailwind
colors: {
  custom: {
    50: '#a39f6a',
    500: '#7a792e',
    950: '#000000',
  },
}
SCSS
$custom: #7a792e;
$custom-light: #a39f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a792e",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 59.211,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.09693,
    "h": 108.4
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#7A792E
secondary
#5A5BAA
accent
#55D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7A792E

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

Preview Lab → · Contrast checker → · Palette generator →

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