#7C6517#7C6517

#7C6517 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.096 H 91.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7C6517
RGBrgb(124, 101, 23)
HSLhsl(46, 69%, 29%)
HSVhsv(46, 81%, 49%)
CMYKcmyk(0%, 18.5%, 81.5%, 51.4%)
CIE-LABlab(43.73, 0.94, 44.27)
CIE-LCHlch(43.73, 44.28, 88.78°)
OKLaboklab(51.54% -0.0023 0.0963)
OKLCHoklch(51.54% 0.096 91.4)
XYZxyz(13.1213, 13.6551, 2.7550)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6517 #172E7C
analogous
#7C3317 #7C6517 #617C17
triadic
#7C6517 #177C65 #65177C
tetradic
#7C6517 #177C33 #172E7C #7C1761
square
#7C6517 #177C33 #172E7C #7C1761
split-complementary
#7C6517 #17617C #33177C
monochromatic
#1A1505 #483B0D #7C6517 #B08F21 #D9B434

Accessibility & contrast

On white

5.63
#7C6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7C6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6517
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6517#FFFFFF#000000##FFFFFF
##7C65171.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716406
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#875C56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c6517;
/* rgb */ color: rgb(124, 101, 23);
/* oklch */ color: oklch(51.5% 0.096 91.4);
Tailwind
colors: {
  custom: {
    50: '#a6905b',
    500: '#7c6517',
    950: '#000000',
  },
}
SCSS
$custom: #7c6517;
$custom-light: #a6905b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6517",
  "rgb": {
    "r": 124,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 46.337,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.09633,
    "h": 91.4
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

primary
#7C6517
secondary
#3E58B1
accent
#64EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6517

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

Preview Lab → · Contrast checker → · Palette generator →

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