#7C772C#7C772C

#7C772C is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.096 H 105.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7C772C
RGBrgb(124, 119, 44)
HSLhsl(56, 48%, 33%)
HSVhsv(56, 65%, 49%)
CMYKcmyk(0%, 4%, 64.5%, 51.4%)
CIE-LABlab(49.08, -8.16, 40.68)
CIE-LCHlch(49.08, 41.49, 101.34°)
OKLaboklab(55.83% -0.0257 0.0927)
OKLCHoklch(55.83% 0.096 105.5)
XYZxyz(15.3642, 17.6611, 4.9820)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C772C #2C317C
analogous
#7C4F2C #7C772C #597C2C
triadic
#7C772C #2C7C77 #772C7C
tetradic
#7C772C #2C7C4F #2C317C #7C2C59
square
#7C772C #2C7C4F #2C317C #7C2C59
split-complementary
#7C772C #2C597C #4F2C7C
monochromatic
#22200C #4F4C1C #7C772C #A9A23C #C5BF5D

Accessibility & contrast

On white

4.63
#7C772C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C772C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C772C#FFFFFF#000000##FFFFFF
##7C772C1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817323
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#856F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c772c;
/* rgb */ color: rgb(124, 119, 44);
/* oklch */ color: oklch(55.8% 0.096 105.5);
Tailwind
colors: {
  custom: {
    50: '#a49e69',
    500: '#7c772c',
    950: '#000000',
  },
}
SCSS
$custom: #7c772c;
$custom-light: #a49e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7c772c",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 56.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.09624,
    "h": 105.5
  },
  "luminance": 0.17661
}

Semantic roles & 50–950 ramp

primary
#7C772C
secondary
#585DAC
accent
#59D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7C772C

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

Preview Lab → · Contrast checker → · Palette generator →

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