#7C772A#7C772A

#7C772A is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.098 H 105.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7C772A
RGBrgb(124, 119, 42)
HSLhsl(56, 49%, 33%)
HSVhsv(56, 66%, 49%)
CMYKcmyk(0%, 4%, 66.1%, 51.4%)
CIE-LABlab(49.06, -8.30, 41.58)
CIE-LCHlch(49.06, 42.40, 101.28°)
OKLaboklab(55.8% -0.0263 0.0943)
OKLCHoklch(55.8% 0.098 105.6)
XYZxyz(15.3275, 17.6464, 4.7888)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C772A #2A2F7C
analogous
#7C4E2A #7C772A #587C2A
triadic
#7C772A #2A7C77 #772A7C
tetradic
#7C772A #2A7C4E #2A2F7C #7C2A58
square
#7C772A #2A7C4E #2A2F7C #7C2A58
split-complementary
#7C772A #2A587C #4E2A7C
monochromatic
#211F0B #4E4B1B #7C772A #AAA339 #C7C059

Accessibility & contrast

On white

4.64
#7C772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7C772A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C772A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C772A#FFFFFF#000000##FFFFFF
##7C772A1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c772a;
/* rgb */ color: rgb(124, 119, 42);
/* oklch */ color: oklch(55.8% 0.098 105.6);
Tailwind
colors: {
  custom: {
    50: '#a49e68',
    500: '#7c772a',
    950: '#000000',
  },
}
SCSS
$custom: #7c772a;
$custom-light: #a49e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c772a",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 56.341,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.09795,
    "h": 105.6
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#7C772A
secondary
#555BAD
accent
#57D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7C772A

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

Preview Lab → · Contrast checker → · Palette generator →

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