#7C7D54#7C7D54

#7C7D54 is a mid, muted yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.059 H 109.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7C7D54
RGBrgb(124, 125, 84)
HSLhsl(61, 20%, 41%)
HSVhsv(61, 33%, 49%)
CMYKcmyk(0.8%, 0%, 32.8%, 51%)
CIE-LABlab(51.37, -7.34, 22.29)
CIE-LCHlch(51.37, 23.46, 108.22°)
OKLaboklab(57.82% -0.0194 0.0554)
OKLCHoklch(57.82% 0.059 109.3)
XYZxyz(17.2461, 19.5927, 11.2590)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D54 #55547D
analogous
#7D6954 #7C7D54 #677D54
triadic
#7C7D54 #547C7D #7D547C
tetradic
#7C7D54 #547D69 #55547D #7D5467
square
#7C7D54 #547D69 #55547D #7D5467
split-complementary
#7C7D54 #54677D #69547D
monochromatic
#333423 #58583B #7C7D54 #9D9F70 #B6B794

Accessibility & contrast

On white

4.27
#7C7D54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7C7D54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D54
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D54#FFFFFF#000000##000000
##7C7D541.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A51
Deuteranopia (green-blind)
#847B56
Tritanopia (blue-blind)
#827872
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c7d54;
/* rgb */ color: rgb(124, 125, 84);
/* oklch */ color: oklch(57.8% 0.059 109.3);
Tailwind
colors: {
  custom: {
    50: '#a2a284',
    500: '#7c7d54',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d54;
$custom-light: #a2a284;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d54",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 84
  },
  "hsl": {
    "h": 61.463,
    "s": 19.617,
    "l": 40.98
  },
  "oklch": {
    "l": 0.57822,
    "c": 0.05868,
    "h": 109.3
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#7C7D54
secondary
#8988A5
accent
#6CBC6E
background
#FAF9F8
surface
#F3F2EF
border
#CDCCCA
text
#0F0F0B
muted
#7F7E7C

Preview Lab

Preview with #7C7D54

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

Preview Lab → · Contrast checker → · Palette generator →

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