#7D772A#7D772A

#7D772A is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.9% C 0.098 H 104.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D772A
RGBrgb(125, 119, 42)
HSLhsl(56, 50%, 33%)
HSVhsv(56, 66%, 49%)
CMYKcmyk(0%, 4.8%, 66.4%, 51%)
CIE-LABlab(49.16, -7.84, 41.71)
CIE-LCHlch(49.16, 42.44, 100.64°)
OKLaboklab(55.9% -0.0251 0.0946)
OKLCHoklch(55.9% 0.098 104.9)
XYZxyz(15.4728, 17.7213, 4.7956)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D772A #2A307D
analogous
#7D4E2A #7D772A #597D2A
triadic
#7D772A #2A7D77 #772A7D
tetradic
#7D772A #2A7D4E #2A307D #7D2A59
square
#7D772A #2A7D4E #2A307D #7D2A59
split-complementary
#7D772A #2A597D #4E2A7D
monochromatic
#21200B #4F4B1B #7D772A #ABA339 #C8C05A

Accessibility & contrast

On white

4.62
#7D772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7D772A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D772A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D772A#FFFFFF#000000##FFFFFF
##7D772A1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#866F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d772a;
/* rgb */ color: rgb(125, 119, 42);
/* oklch */ color: oklch(55.9% 0.098 104.9);
Tailwind
colors: {
  custom: {
    50: '#a59e68',
    500: '#7d772a',
    950: '#000000',
  },
}
SCSS
$custom: #7d772a;
$custom-light: #a59e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d772a",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 55.663,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.559,
    "c": 0.09784,
    "h": 104.9
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#7D772A
secondary
#565CAD
accent
#59D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D772A

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

Preview Lab → · Contrast checker → · Palette generator →

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