#7C7952#7C7952

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

Color values

HEX#7C7952
RGBrgb(124, 121, 82)
HSLhsl(56, 20%, 40%)
HSVhsv(56, 34%, 49%)
CMYKcmyk(0%, 2.4%, 33.9%, 51.4%)
CIE-LABlab(50.18, -5.36, 21.85)
CIE-LCHlch(50.18, 22.50, 103.79°)
OKLaboklab(56.86% -0.0138 0.0543)
OKLCHoklch(56.86% 0.056 104.3)
XYZxyz(16.6727, 18.5694, 10.6870)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7952 #52557C
analogous
#7C6452 #7C7952 #6A7C52
triadic
#7C7952 #527C79 #79527C
tetradic
#7C7952 #527C64 #52557C #7C526A
square
#7C7952 #527C64 #52557C #7C526A
split-complementary
#7C7952 #526A7C #64527C
monochromatic
#323121 #57553A #7C7952 #9E9B6D #B7B492

Accessibility & contrast

On white

4.46
#7C7952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7C7952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7952
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7952#FFFFFF#000000##000000
##7C79521.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80764F
Deuteranopia (green-blind)
#817854
Tritanopia (blue-blind)
#82746F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7952;
/* rgb */ color: rgb(124, 121, 82);
/* oklch */ color: oklch(56.9% 0.056 104.3);
Tailwind
colors: {
  custom: {
    50: '#a29f83',
    500: '#7c7952',
    950: '#000000',
  },
}
SCSS
$custom: #7c7952;
$custom-light: #a29f83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7952",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 82
  },
  "hsl": {
    "h": 55.714,
    "s": 20.388,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.05602,
    "h": 104.3
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#7C7952
secondary
#8688A4
accent
#71BD6B
background
#FAF9F8
surface
#F3F2EF
border
#CDCCCA
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7C7952

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

Preview Lab → · Contrast checker → · Palette generator →

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