#7C7252#7C7252

#7C7252 is a mid, muted yellow. Relative luminance 0.169; OKLCH L 55.3% C 0.048 H 92.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7C7252
RGBrgb(124, 114, 82)
HSLhsl(46, 20%, 40%)
HSVhsv(46, 34%, 49%)
CMYKcmyk(0%, 8.1%, 33.9%, 51.4%)
CIE-LABlab(48.17, -1.37, 19.18)
CIE-LCHlch(48.17, 19.23, 94.09°)
OKLaboklab(55.28% -0.0023 0.048)
OKLCHoklch(55.28% 0.048 92.8)
XYZxyz(15.8527, 16.9294, 10.4136)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7252 #525C7C
analogous
#7C5D52 #7C7252 #717C52
triadic
#7C7252 #527C72 #72527C
tetradic
#7C7252 #527C5D #525C7C #7C5271
square
#7C7252 #527C5D #525C7C #7C5271
split-complementary
#7C7252 #52717C #5D527C
monochromatic
#322E21 #57503A #7C7252 #9E936D #B7AE92

Accessibility & contrast

On white

4.79
#7C7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7C7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7252
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7252#FFFFFF#000000##FFFFFF
##7C72521.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#7B7453
Tritanopia (blue-blind)
#826D6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7252;
/* rgb */ color: rgb(124, 114, 82);
/* oklch */ color: oklch(55.3% 0.048 92.8);
Tailwind
colors: {
  custom: {
    50: '#a29a83',
    500: '#7c7252',
    950: '#000000',
  },
}
SCSS
$custom: #7c7252;
$custom-light: #a29a83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7252",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 45.714,
    "s": 20.388,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55275,
    "c": 0.04805,
    "h": 92.8
  },
  "luminance": 0.16929
}

Semantic roles & 50–950 ramp

primary
#7C7252
secondary
#868DA4
accent
#7EBD6B
background
#FAF9F8
surface
#F3F2EF
border
#CDCCCA
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7C7252

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

Preview Lab → · Contrast checker → · Palette generator →

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