#7C6B15#7C6B15

#7C6B15 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.9% C 0.101 H 97.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7C6B15
RGBrgb(124, 107, 21)
HSLhsl(50, 71%, 28%)
HSVhsv(50, 83%, 49%)
CMYKcmyk(0%, 13.7%, 83.1%, 51.4%)
CIE-LABlab(45.44, -2.61, 46.51)
CIE-LCHlch(45.44, 46.58, 93.21°)
OKLaboklab(52.88% -0.0126 0.1007)
OKLCHoklch(52.88% 0.101 97.1)
XYZxyz(13.7060, 14.8554, 2.8548)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6B15 #15267C
analogous
#7C3715 #7C6B15 #597C15
triadic
#7C6B15 #157C6B #6B157C
tetradic
#7C6B15 #157C37 #15267C #7C1559
square
#7C6B15 #157C37 #15267C #7C1559
split-complementary
#7C6B15 #15597C #37157C
monochromatic
#1A1704 #483E0C #7C6B15 #B0981E #DCBF30

Accessibility & contrast

On white

5.29
#7C6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7C6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6B15
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6B15#FFFFFF#000000##FFFFFF
##7C6B151.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#87625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c6b15;
/* rgb */ color: rgb(124, 107, 21);
/* oklch */ color: oklch(52.9% 0.101 97.1);
Tailwind
colors: {
  custom: {
    50: '#a6955b',
    500: '#7c6b15',
    950: '#000000',
  },
}
SCSS
$custom: #7c6b15;
$custom-light: #a6955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6b15",
  "rgb": {
    "r": 124,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 50.097,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.10144,
    "h": 97.1
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#7C6B15
secondary
#3C4FB1
accent
#58EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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