#7A772C#7A772C

#7A772C is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.096 H 107.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A772C
RGBrgb(122, 119, 44)
HSLhsl(58, 47%, 33%)
HSVhsv(58, 64%, 48%)
CMYKcmyk(0%, 2.5%, 63.9%, 52.2%)
CIE-LABlab(48.90, -9.08, 40.43)
CIE-LCHlch(48.90, 41.43, 102.65°)
OKLaboklab(55.64% -0.0282 0.0923)
OKLCHoklch(55.64% 0.096 107)
XYZxyz(15.0780, 17.5135, 4.9686)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A772C #2C2F7A
analogous
#7A502C #7A772C #567A2C
triadic
#7A772C #2C7A77 #772C7A
tetradic
#7A772C #2C7A50 #2C2F7A #7A2C56
square
#7A772C #2C7A50 #2C2F7A #7A2C56
split-complementary
#7A772C #2C567A #502C7A
monochromatic
#201F0C #4D4B1C #7A772C #A7A33C #C4C05C

Accessibility & contrast

On white

4.66
#7A772C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7A772C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A772C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A772C#FFFFFF#000000##FFFFFF
##7A772C1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817223
Deuteranopia (green-blind)
#827630
Tritanopia (blue-blind)
#836F67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a772c;
/* rgb */ color: rgb(122, 119, 44);
/* oklch */ color: oklch(55.6% 0.096 107.0);
Tailwind
colors: {
  custom: {
    50: '#a39e69',
    500: '#7a772c',
    950: '#000000',
  },
}
SCSS
$custom: #7a772c;
$custom-light: #a39e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7a772c",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 57.692,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.09646,
    "h": 107
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#7A772C
secondary
#575BAA
accent
#56D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A772C

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

Preview Lab → · Contrast checker → · Palette generator →

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