#7C6F40#7C6F40

#7C6F40 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.3% C 0.068 H 94.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7C6F40
RGBrgb(124, 111, 64)
HSLhsl(47, 32%, 37%)
HSVhsv(47, 48%, 49%)
CMYKcmyk(0%, 10.5%, 48.4%, 51.4%)
CIE-LABlab(47.01, -1.85, 27.92)
CIE-LCHlch(47.01, 27.98, 93.78°)
OKLaboklab(54.26% -0.0052 0.0673)
OKLCHoklch(54.26% 0.068 94.4)
XYZxyz(14.9225, 16.0247, 7.1565)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6F40 #404D7C
analogous
#7C5140 #7C6F40 #6B7C40
triadic
#7C6F40 #407C6F #6F407C
tetradic
#7C6F40 #407C51 #404D7C #7C406B
square
#7C6F40 #407C51 #404D7C #7C406B
split-complementary
#7C6F40 #406B7C #51407C
monochromatic
#2B2716 #544B2B #7C6F40 #A49355 #BBAD7B

Accessibility & contrast

On white

4.99
#7C6F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7C6F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6F40
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6F40#FFFFFF#000000##FFFFFF
##7C6F401.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#7B7142
Tritanopia (blue-blind)
#846864
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c6f40;
/* rgb */ color: rgb(124, 111, 64);
/* oklch */ color: oklch(54.3% 0.068 94.4);
Tailwind
colors: {
  custom: {
    50: '#a39876',
    500: '#7c6f40',
    950: '#000000',
  },
}
SCSS
$custom: #7c6f40;
$custom-light: #a39876;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6f40",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 47,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.06751,
    "h": 94.4
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#7C6F40
secondary
#727DA6
accent
#76C860
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #7C6F40

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

Preview Lab → · Contrast checker → · Palette generator →

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