#7C6B14#7C6B14

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

Color values

HEX#7C6B14
RGBrgb(124, 107, 20)
HSLhsl(50, 72%, 28%)
HSVhsv(50, 84%, 49%)
CMYKcmyk(0%, 13.7%, 83.9%, 51.4%)
CIE-LABlab(45.43, -2.65, 46.83)
CIE-LCHlch(45.43, 46.91, 93.24°)
OKLaboklab(52.87% -0.0128 0.1012)
OKLCHoklch(52.87% 0.102 97.2)
XYZxyz(13.6969, 14.8517, 2.8069)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6B14 #14257C
analogous
#7C3714 #7C6B14 #597C14
triadic
#7C6B14 #147C6B #6B147C
tetradic
#7C6B14 #147C37 #14257C #7C1459
square
#7C6B14 #147C37 #14257C #7C1459
split-complementary
#7C6B14 #14597C #37147C
monochromatic
#1A1704 #473E0B #7C6B14 #B1981D #DDC02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6B14#FFFFFF#000000##FFFFFF
##7C6B141.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: #7c6b14;
/* rgb */ color: rgb(124, 107, 20);
/* oklch */ color: oklch(52.9% 0.102 97.2);
Tailwind
colors: {
  custom: {
    50: '#a6955b',
    500: '#7c6b14',
    950: '#000000',
  },
}
SCSS
$custom: #7c6b14;
$custom-light: #a6955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6b14",
  "rgb": {
    "r": 124,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 50.192,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.10195,
    "h": 97.2
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#7C6B14
secondary
#3A4EB2
accent
#57EF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6B14

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

Preview Lab → · Contrast checker → · Palette generator →

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