#7C772D#7C772D

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

Color values

HEX#7C772D
RGBrgb(124, 119, 45)
HSLhsl(56, 47%, 33%)
HSVhsv(56, 64%, 49%)
CMYKcmyk(0%, 4%, 63.7%, 51.4%)
CIE-LABlab(49.09, -8.09, 40.22)
CIE-LCHlch(49.09, 41.02, 101.37°)
OKLaboklab(55.84% -0.0254 0.0919)
OKLCHoklch(55.84% 0.095 105.4)
XYZxyz(15.3832, 17.6687, 5.0822)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C772D #2D327C
analogous
#7C4F2D #7C772D #597C2D
triadic
#7C772D #2D7C77 #772D7C
tetradic
#7C772D #2D7C4F #2D327C #7C2D59
square
#7C772D #2D7C4F #2D327C #7C2D59
split-complementary
#7C772D #2D597C #4F2D7C
monochromatic
#22210C #4F4C1D #7C772D #A9A23D #C5BE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C772D#FFFFFF#000000##FFFFFF
##7C772D1.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)
#817324
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#856F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c772d;
/* rgb */ color: rgb(124, 119, 45);
/* oklch */ color: oklch(55.8% 0.095 105.4);
Tailwind
colors: {
  custom: {
    50: '#a49e69',
    500: '#7c772d',
    950: '#000000',
  },
}
SCSS
$custom: #7c772d;
$custom-light: #a49e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7c772d",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 56.203,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55835,
    "c": 0.09536,
    "h": 105.4
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#7C772D
secondary
#5A5FAB
accent
#5AD651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7C772D

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

Preview Lab → · Contrast checker → · Palette generator →

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