#7D7C52#7D7C52

#7D7C52 is a mid, muted yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.060 H 107.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D7C52
RGBrgb(125, 124, 82)
HSLhsl(59, 21%, 41%)
HSVhsv(59, 34%, 49%)
CMYKcmyk(0%, 0.8%, 34.4%, 51%)
CIE-LABlab(51.13, -6.62, 23.12)
CIE-LCHlch(51.13, 24.05, 105.99°)
OKLaboklab(57.64% -0.0175 0.0573)
OKLCHoklch(57.64% 0.06 107)
XYZxyz(17.1882, 19.3848, 10.8172)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C52 #52537D
analogous
#7D6652 #7D7C52 #687D52
triadic
#7D7C52 #527D7C #7C527D
tetradic
#7D7C52 #527D66 #52537D #7D5268
square
#7D7C52 #527D66 #52537D #7D5268
split-complementary
#7D7C52 #52687D #66527D
monochromatic
#333322 #58573A #7D7C52 #9F9E6D #B7B792

Accessibility & contrast

On white

4.31
#7D7C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7D7C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C52
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C52#FFFFFF#000000##000000
##7D7C521.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83794F
Deuteranopia (green-blind)
#847B54
Tritanopia (blue-blind)
#837771
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7c52;
/* rgb */ color: rgb(125, 124, 82);
/* oklch */ color: oklch(57.6% 0.060 107.0);
Tailwind
colors: {
  custom: {
    50: '#a3a183',
    500: '#7d7c52',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c52;
$custom-light: #a3a183;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c52",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 58.605,
    "s": 20.773,
    "l": 40.588
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.05987,
    "h": 107
  },
  "luminance": 0.19384
}

Semantic roles & 50–950 ramp

primary
#7D7C52
secondary
#8687A5
accent
#6CBD6A
background
#FAF9F8
surface
#F4F2EF
border
#CECCCA
text
#0F0F0A
muted
#7F7E7C

Preview Lab

Preview with #7D7C52

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

Preview Lab → · Contrast checker → · Palette generator →

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