#7C6F2F#7C6F2F

#7C6F2F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.086 H 97.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7C6F2F
RGBrgb(124, 111, 47)
HSLhsl(50, 45%, 34%)
HSVhsv(50, 62%, 49%)
CMYKcmyk(0%, 10.5%, 62.1%, 51.4%)
CIE-LABlab(46.79, -3.42, 36.71)
CIE-LCHlch(46.79, 36.87, 95.32°)
OKLaboklab(54.01% -0.0118 0.0847)
OKLCHoklch(54.01% 0.086 97.9)
XYZxyz(14.5103, 15.8598, 4.9857)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6F2F #2F3C7C
analogous
#7C482F #7C6F2F #627C2F
triadic
#7C6F2F #2F7C6F #6F2F7C
tetradic
#7C6F2F #2F7C48 #2F3C7C #7C2F62
square
#7C6F2F #2F7C48 #2F3C7C #7C2F62
split-complementary
#7C6F2F #2F627C #482F7C
monochromatic
#23200D #50471E #7C6F2F #A89740 #C3B362

Accessibility & contrast

On white

5.03
#7C6F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C6F2F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6F2F#FFFFFF#000000##FFFFFF
##7C6F2F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c6f2f;
/* rgb */ color: rgb(124, 111, 47);
/* oklch */ color: oklch(54.0% 0.086 97.9);
Tailwind
colors: {
  custom: {
    50: '#a4986a',
    500: '#7c6f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7c6f2f;
$custom-light: #a4986a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6f2f",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 49.87,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.08555,
    "h": 97.9
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#7C6F2F
secondary
#5C6AAA
accent
#69D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7C6F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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