#7C7954#7C7954

#7C7954 is a mid, muted yellow. Relative luminance 0.186; OKLCH L 56.9% C 0.053 H 104.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C7954
RGBrgb(124, 121, 84)
HSLhsl(56, 19%, 41%)
HSVhsv(56, 32%, 49%)
CMYKcmyk(0%, 2.4%, 32.3%, 51.4%)
CIE-LABlab(50.22, -5.09, 20.75)
CIE-LCHlch(50.22, 21.37, 103.78°)
OKLaboklab(56.9% -0.0129 0.0518)
OKLCHoklch(56.9% 0.053 104)
XYZxyz(16.7499, 18.6003, 11.0936)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7954 #54577C
analogous
#7C6554 #7C7954 #6B7C54
triadic
#7C7954 #547C79 #79547C
tetradic
#7C7954 #547C65 #54577C #7C546B
square
#7C7954 #547C65 #54577C #7C546B
split-complementary
#7C7954 #546B7C #65547C
monochromatic
#333223 #58553B #7C7954 #9E9A6F #B6B494

Accessibility & contrast

On white

4.45
#7C7954 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7C7954 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7954
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7954#FFFFFF#000000##000000
##7C79541.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7651
Deuteranopia (green-blind)
#817855
Tritanopia (blue-blind)
#82746F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7954;
/* rgb */ color: rgb(124, 121, 84);
/* oklch */ color: oklch(56.9% 0.053 104.0);
Tailwind
colors: {
  custom: {
    50: '#a29f84',
    500: '#7c7954',
    950: '#000000',
  },
}
SCSS
$custom: #7c7954;
$custom-light: #a29f84;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7954",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 55.5,
    "s": 19.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.05337,
    "h": 104
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#7C7954
secondary
#888AA4
accent
#72BC6C
background
#FAF9F8
surface
#F3F2EF
border
#CDCCCA
text
#0F0E0B
muted
#7F7E7C

Preview Lab

Preview with #7C7954

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

Preview Lab → · Contrast checker → · Palette generator →

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