#7C7642#7C7642

#7C7642 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.9% C 0.072 H 102.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7C7642
RGBrgb(124, 118, 66)
HSLhsl(54, 31%, 37%)
HSVhsv(54, 47%, 49%)
CMYKcmyk(0%, 4.8%, 46.8%, 51.4%)
CIE-LABlab(49.05, -5.62, 29.36)
CIE-LCHlch(49.05, 29.89, 100.84°)
OKLaboklab(55.88% -0.0159 0.0707)
OKLCHoklch(55.88% 0.072 102.7)
XYZxyz(15.7743, 17.6358, 7.7263)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7642 #42487C
analogous
#7C5942 #7C7642 #657C42
triadic
#7C7642 #427C76 #76427C
tetradic
#7C7642 #427C59 #42487C #7C4265
square
#7C7642 #427C59 #42487C #7C4265
split-complementary
#7C7642 #42657C #59427C
monochromatic
#2C2A17 #54502D #7C7642 #A49C57 #BAB47E

Accessibility & contrast

On white

4.64
#7C7642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7C7642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7642
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7642#FFFFFF#000000##FFFFFF
##7C76421.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733E
Deuteranopia (green-blind)
#807644
Tritanopia (blue-blind)
#84706A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c7642;
/* rgb */ color: rgb(124, 118, 66);
/* oklch */ color: oklch(55.9% 0.072 102.7);
Tailwind
colors: {
  custom: {
    50: '#a39d77',
    500: '#7c7642',
    950: '#000000',
  },
}
SCSS
$custom: #7c7642;
$custom-light: #a39d77;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7642",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 66
  },
  "hsl": {
    "h": 53.793,
    "s": 30.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55884,
    "c": 0.07243,
    "h": 102.7
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#7C7642
secondary
#757AA5
accent
#6CC761
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7642

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

Preview Lab → · Contrast checker → · Palette generator →

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