#7C6A13#7C6A13

#7C6A13 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.102 H 96.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7C6A13
RGBrgb(124, 106, 19)
HSLhsl(50, 73%, 28%)
HSVhsv(50, 85%, 49%)
CMYKcmyk(0%, 14.5%, 84.7%, 51.4%)
CIE-LABlab(45.14, -2.11, 46.90)
CIE-LCHlch(45.14, 46.95, 92.57°)
OKLaboklab(52.64% -0.0113 0.1011)
OKLCHoklch(52.64% 0.102 96.4)
XYZxyz(13.5845, 14.6409, 2.7264)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6A13 #13257C
analogous
#7C3513 #7C6A13 #597C13
triadic
#7C6A13 #137C6A #6A137C
tetradic
#7C6A13 #137C35 #13257C #7C1359
square
#7C6A13 #137C35 #13257C #7C1359
split-complementary
#7C6A13 #13597C #35137C
monochromatic
#1B1704 #473D0B #7C6A13 #B1971B #DFC02B

Accessibility & contrast

On white

5.35
#7C6A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7C6A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6A13
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6A13#FFFFFF#000000##FFFFFF
##7C6A131.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#7B6D1A
Tritanopia (blue-blind)
#87615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c6a13;
/* rgb */ color: rgb(124, 106, 19);
/* oklch */ color: oklch(52.6% 0.102 96.4);
Tailwind
colors: {
  custom: {
    50: '#a6945a',
    500: '#7c6a13',
    950: '#000000',
  },
}
SCSS
$custom: #7c6a13;
$custom-light: #a6945a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6a13",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 49.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.1017,
    "h": 96.4
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

primary
#7C6A13
secondary
#394EB2
accent
#57F038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6A13

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

Preview Lab → · Contrast checker → · Palette generator →

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