#7C6F2C#7C6F2C

#7C6F2C is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.088 H 98.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7C6F2C
RGBrgb(124, 111, 44)
HSLhsl(50, 48%, 33%)
HSVhsv(50, 65%, 49%)
CMYKcmyk(0%, 10.5%, 64.5%, 51.4%)
CIE-LABlab(46.76, -3.65, 38.16)
CIE-LCHlch(46.76, 38.33, 95.46°)
OKLaboklab(53.98% -0.0128 0.0874)
OKLCHoklch(53.98% 0.088 98.4)
XYZxyz(14.4518, 15.8365, 4.6779)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6F2C #2C397C
analogous
#7C472C #7C6F2C #617C2C
triadic
#7C6F2C #2C7C6F #6F2C7C
tetradic
#7C6F2C #2C7C47 #2C397C #7C2C61
square
#7C6F2C #2C7C47 #2C397C #7C2C61
split-complementary
#7C6F2C #2C617C #472C7C
monochromatic
#221E0C #4F471C #7C6F2C #A9973C #C5B45D

Accessibility & contrast

On white

5.04
#7C6F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7C6F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6F2C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6F2C#FFFFFF#000000##FFFFFF
##7C6F2C1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C24
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#856761
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c6f2c;
/* rgb */ color: rgb(124, 111, 44);
/* oklch */ color: oklch(54.0% 0.088 98.4);
Tailwind
colors: {
  custom: {
    50: '#a49868',
    500: '#7c6f2c',
    950: '#000000',
  },
}
SCSS
$custom: #7c6f2c;
$custom-light: #a49868;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6f2c",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 50.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5398,
    "c": 0.08833,
    "h": 98.4
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#7C6F2C
secondary
#5866AC
accent
#66D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7C6F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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