#7C7516#7C7516

#7C7516 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.109 H 105.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C7516
RGBrgb(124, 117, 22)
HSLhsl(56, 70%, 29%)
HSVhsv(56, 82%, 49%)
CMYKcmyk(0%, 5.6%, 82.3%, 51.4%)
CIE-LABlab(48.34, -8.23, 48.75)
CIE-LCHlch(48.34, 49.44, 99.58°)
OKLaboklab(55.19% -0.0283 0.1057)
OKLCHoklch(55.19% 0.109 105)
XYZxyz(14.8189, 17.0662, 3.2724)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7516 #161D7C
analogous
#7C4216 #7C7516 #507C16
triadic
#7C7516 #167C75 #75167C
tetradic
#7C7516 #167C42 #161D7C #7C1650
square
#7C7516 #167C42 #161D7C #7C1650
split-complementary
#7C7516 #16507C #42167C
monochromatic
#1A1905 #48440D #7C7516 #B0A61F #DBCF32

Accessibility & contrast

On white

4.76
#7C7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7C7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7516
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7516#FFFFFF#000000##FFFFFF
##7C75161.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#866C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7516;
/* rgb */ color: rgb(124, 117, 22);
/* oklch */ color: oklch(55.2% 0.109 105.0);
Tailwind
colors: {
  custom: {
    50: '#a59c5d',
    500: '#7c7516',
    950: '#000000',
  },
}
SCSS
$custom: #7c7516;
$custom-light: #a59c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7516",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 55.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55187,
    "c": 0.10944,
    "h": 105
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#7C7516
secondary
#3D45B1
accent
#47ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7516

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

Preview Lab → · Contrast checker → · Palette generator →

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