#7C7A4A#7C7A4A

#7C7A4A is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.068 H 106.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7C7A4A
RGBrgb(124, 122, 74)
HSLhsl(58, 25%, 39%)
HSVhsv(58, 40%, 49%)
CMYKcmyk(0%, 1.6%, 40.3%, 51.4%)
CIE-LABlab(50.33, -6.95, 26.55)
CIE-LCHlch(50.33, 27.45, 104.67°)
OKLaboklab(56.94% -0.019 0.0648)
OKLCHoklch(56.94% 0.068 106.3)
XYZxyz(16.5080, 18.6989, 9.2169)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A4A #4A4C7C
analogous
#7C614A #7C7A4A #657C4A
triadic
#7C7A4A #4A7C7A #7A4A7C
tetradic
#7C7A4A #4A7C61 #4A4C7C #7C4A65
square
#7C7A4A #4A7C61 #4A4C7C #7C4A65
split-complementary
#7C7A4A #4A657C #614A7C
monochromatic
#2F2F1C #565433 #7C7A4A #A19F62 #B8B688

Accessibility & contrast

On white

4.43
#7C7A4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7C7A4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A4A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A4A#FFFFFF#000000##000000
##7C7A4A1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827746
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#83746E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7a4a;
/* rgb */ color: rgb(124, 122, 74);
/* oklch */ color: oklch(56.9% 0.068 106.3);
Tailwind
colors: {
  custom: {
    50: '#a3a07d',
    500: '#7c7a4a',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a4a;
$custom-light: #a3a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a4a",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 74
  },
  "hsl": {
    "h": 57.6,
    "s": 25.253,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.06754,
    "h": 106.3
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#7C7A4A
secondary
#7D7FA4
accent
#6AC266
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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