#7C7253#7C7253

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

Color values

HEX#7C7253
RGBrgb(124, 114, 83)
HSLhsl(45, 20%, 41%)
HSVhsv(45, 33%, 49%)
CMYKcmyk(0%, 8.1%, 33.1%, 51.4%)
CIE-LABlab(48.19, -1.23, 18.62)
CIE-LCHlch(48.19, 18.66, 93.79°)
OKLaboklab(55.3% -0.0019 0.0467)
OKLCHoklch(55.3% 0.047 92.3)
XYZxyz(15.8910, 16.9447, 10.6155)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7253 #535D7C
analogous
#7C5D53 #7C7253 #717C53
triadic
#7C7253 #537C72 #72537C
tetradic
#7C7253 #537C5D #535D7C #7C5371
square
#7C7253 #537C5D #535D7C #7C5371
split-complementary
#7C7253 #53717C #5D537C
monochromatic
#332F22 #57503A #7C7253 #9E926E #B7AE93

Accessibility & contrast

On white

4.78
#7C7253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C7253
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7253#FFFFFF#000000##FFFFFF
##7C72531.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7253;
/* rgb */ color: rgb(124, 114, 83);
/* oklch */ color: oklch(55.3% 0.047 92.3);
Tailwind
colors: {
  custom: {
    50: '#a29a83',
    500: '#7c7253',
    950: '#000000',
  },
}
SCSS
$custom: #7c7253;
$custom-light: #a29a83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7253",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 83
  },
  "hsl": {
    "h": 45.366,
    "s": 19.807,
    "l": 40.588
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.04674,
    "h": 92.3
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#7C7253
secondary
#878EA4
accent
#7FBC6B
background
#FAF9F8
surface
#F3F2EF
border
#CDCCCA
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7C7253

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

Preview Lab → · Contrast checker → · Palette generator →

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