#7C6A14#7C6A14

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

Color values

HEX#7C6A14
RGBrgb(124, 106, 20)
HSLhsl(50, 72%, 28%)
HSVhsv(50, 84%, 49%)
CMYKcmyk(0%, 14.5%, 83.9%, 51.4%)
CIE-LABlab(45.14, -2.07, 46.58)
CIE-LCHlch(45.14, 46.63, 92.55°)
OKLaboklab(52.64% -0.0111 0.1006)
OKLCHoklch(52.64% 0.101 96.3)
XYZxyz(13.5932, 14.6444, 2.7724)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6A14 #14267C
analogous
#7C3614 #7C6A14 #5A7C14
triadic
#7C6A14 #147C6A #6A147C
tetradic
#7C6A14 #147C36 #14267C #7C145A
square
#7C6A14 #147C36 #14267C #7C145A
split-complementary
#7C6A14 #145A7C #36147C
monochromatic
#1A1704 #473D0B #7C6A14 #B1971D #DDBF2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6A14#FFFFFF#000000##FFFFFF
##7C6A141.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: #7c6a14;
/* rgb */ color: rgb(124, 106, 20);
/* oklch */ color: oklch(52.6% 0.101 96.3);
Tailwind
colors: {
  custom: {
    50: '#a6945b',
    500: '#7c6a14',
    950: '#000000',
  },
}
SCSS
$custom: #7c6a14;
$custom-light: #a6945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6a14",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 49.615,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.10121,
    "h": 96.3
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#7C6A14
secondary
#3A4FB2
accent
#58EF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6A14

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

Preview Lab → · Contrast checker → · Palette generator →

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