#7C7150#7C7150

#7C7150 is a mid, muted yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.050 H 91.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7C7150
RGBrgb(124, 113, 80)
HSLhsl(45, 22%, 40%)
HSVhsv(45, 35%, 49%)
CMYKcmyk(0%, 8.9%, 35.5%, 51.4%)
CIE-LABlab(47.85, -1.07, 19.90)
CIE-LCHlch(47.85, 19.93, 93.07°)
OKLaboklab(55.01% -0.0016 0.0497)
OKLCHoklch(55.01% 0.05 91.8)
XYZxyz(15.6655, 16.6750, 9.9813)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7150 #505B7C
analogous
#7C5B50 #7C7150 #717C50
triadic
#7C7150 #507C71 #71507C
tetradic
#7C7150 #507C5B #505B7C #7C5071
square
#7C7150 #507C5B #505B7C #7C5071
split-complementary
#7C7150 #50717C #5B507C
monochromatic
#322D20 #574F38 #7C7150 #9F926A #B7AD8F

Accessibility & contrast

On white

4.84
#7C7150 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7C7150 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7150
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7150#FFFFFF#000000##FFFFFF
##7C71501.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78704E
Deuteranopia (green-blind)
#7B7351
Tritanopia (blue-blind)
#836C68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7150;
/* rgb */ color: rgb(124, 113, 80);
/* oklch */ color: oklch(55.0% 0.050 91.8);
Tailwind
colors: {
  custom: {
    50: '#a29981',
    500: '#7c7150',
    950: '#000000',
  },
}
SCSS
$custom: #7c7150;
$custom-light: #a29981;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7150",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 80
  },
  "hsl": {
    "h": 45,
    "s": 21.569,
    "l": 40
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.04967,
    "h": 91.8
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#7C7150
secondary
#848CA4
accent
#7FBE6A
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7C7150

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

Preview Lab → · Contrast checker → · Palette generator →

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