#7C6A15#7C6A15

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

Color values

HEX#7C6A15
RGBrgb(124, 106, 21)
HSLhsl(50, 71%, 28%)
HSVhsv(50, 83%, 49%)
CMYKcmyk(0%, 14.5%, 83.1%, 51.4%)
CIE-LABlab(45.15, -2.04, 46.25)
CIE-LCHlch(45.15, 46.30, 92.52°)
OKLaboklab(52.65% -0.0109 0.1001)
OKLCHoklch(52.65% 0.101 96.2)
XYZxyz(13.6023, 14.6481, 2.8202)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6A15 #15277C
analogous
#7C3715 #7C6A15 #5A7C15
triadic
#7C6A15 #157C6A #6A157C
tetradic
#7C6A15 #157C37 #15277C #7C155A
square
#7C6A15 #157C37 #15277C #7C155A
split-complementary
#7C6A15 #155A7C #37157C
monochromatic
#1A1604 #483D0C #7C6A15 #B0971E #DCBE30

Accessibility & contrast

On white

5.34
#7C6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C6A15
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6A15#FFFFFF#000000##FFFFFF
##7C6A151.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c6a15;
/* rgb */ color: rgb(124, 106, 21);
/* oklch */ color: oklch(52.6% 0.101 96.2);
Tailwind
colors: {
  custom: {
    50: '#a6945b',
    500: '#7c6a15',
    950: '#000000',
  },
}
SCSS
$custom: #7c6a15;
$custom-light: #a6945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6a15",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 49.515,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.10071,
    "h": 96.2
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#7C6A15
secondary
#3C50B1
accent
#59EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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