#7C6D1A#7C6D1A

#7C6D1A is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.100 H 98.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7C6D1A
RGBrgb(124, 109, 26)
HSLhsl(51, 65%, 29%)
HSVhsv(51, 79%, 49%)
CMYKcmyk(0%, 12.1%, 79%, 51.4%)
CIE-LABlab(46.04, -3.55, 45.28)
CIE-LCHlch(46.04, 45.42, 94.49°)
OKLaboklab(53.36% -0.0147 0.0991)
OKLCHoklch(53.36% 0.1 98.5)
XYZxyz(13.9680, 15.2977, 3.1941)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6D1A #1A297C
analogous
#7C3C1A #7C6D1A #5A7C1A
triadic
#7C6D1A #1A7C6D #6D1A7C
tetradic
#7C6D1A #1A7C3C #1A297C #7C1A5A
square
#7C6D1A #1A7C3C #1A297C #7C1A5A
split-complementary
#7C6D1A #1A5A7C #3C1A7C
monochromatic
#191605 #49410F #7C6D1A #AF9925 #D6BE3B

Accessibility & contrast

On white

5.17
#7C6D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C6D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6D1A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6D1A#FFFFFF#000000##FFFFFF
##7C6D1A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A09
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#86645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c6d1a;
/* rgb */ color: rgb(124, 109, 26);
/* oklch */ color: oklch(53.4% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#a5965e',
    500: '#7c6d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c6d1a;
$custom-light: #a5965e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6d1a",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 50.816,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.10021,
    "h": 98.5
  },
  "luminance": 0.15297
}

Semantic roles & 50–950 ramp

primary
#7C6D1A
secondary
#4253B0
accent
#59E840
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C6D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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