#7C6F1B#7C6F1B

#7C6F1B is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.101 H 100.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7C6F1B
RGBrgb(124, 111, 27)
HSLhsl(52, 64%, 30%)
HSVhsv(52, 78%, 49%)
CMYKcmyk(0%, 10.5%, 78.2%, 51.4%)
CIE-LABlab(46.62, -4.65, 45.45)
CIE-LCHlch(46.62, 45.69, 95.84°)
OKLaboklab(53.83% -0.0177 0.0997)
OKLCHoklch(53.83% 0.101 100.1)
XYZxyz(14.1951, 15.7338, 3.3259)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6F1B #1B287C
analogous
#7C3F1B #7C6F1B #597C1B
triadic
#7C6F1B #1B7C6F #6F1B7C
tetradic
#7C6F1B #1B7C3F #1B287C #7C1B59
square
#7C6F1B #1B7C3F #1B287C #7C1B59
split-complementary
#7C6F1B #1B597C #3F1B7C
monochromatic
#191605 #4A4210 #7C6F1B #AE9C26 #D5C03D

Accessibility & contrast

On white

5.06
#7C6F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7C6F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6F1B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6F1B#FFFFFF#000000##FFFFFF
##7C6F1B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0A
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#86665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6f1b;
/* rgb */ color: rgb(124, 111, 27);
/* oklch */ color: oklch(53.8% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#a5985f',
    500: '#7c6f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7c6f1b;
$custom-light: #a5985f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6f1b",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 51.959,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.10125,
    "h": 100.1
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#7C6F1B
secondary
#4351B0
accent
#57E741
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C6F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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