#7C6717#7C6717

#7C6717 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 52.0% C 0.098 H 93.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7C6717
RGBrgb(124, 103, 23)
HSLhsl(48, 69%, 29%)
HSVhsv(48, 81%, 49%)
CMYKcmyk(0%, 16.9%, 81.5%, 51.4%)
CIE-LABlab(44.30, -0.22, 44.79)
CIE-LCHlch(44.30, 44.79, 90.29°)
OKLaboklab(51.98% -0.0056 0.0974)
OKLCHoklch(51.98% 0.098 93.3)
XYZxyz(13.3178, 14.0482, 2.8206)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6717 #172C7C
analogous
#7C3517 #7C6717 #5F7C17
triadic
#7C6717 #177C67 #67177C
tetradic
#7C6717 #177C35 #172C7C #7C175F
square
#7C6717 #177C35 #172C7C #7C175F
split-complementary
#7C6717 #175F7C #35177C
monochromatic
#1A1505 #483C0D #7C6717 #B09221 #D9B734

Accessibility & contrast

On white

5.51
#7C6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7C6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6717
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6717#FFFFFF#000000##FFFFFF
##7C67171.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#875E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c6717;
/* rgb */ color: rgb(124, 103, 23);
/* oklch */ color: oklch(52.0% 0.098 93.3);
Tailwind
colors: {
  custom: {
    50: '#a6925c',
    500: '#7c6717',
    950: '#000000',
  },
}
SCSS
$custom: #7c6717;
$custom-light: #a6925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6717",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 47.525,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.09758,
    "h": 93.3
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#7C6717
secondary
#3E56B1
accent
#61EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6717

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

Preview Lab → · Contrast checker → · Palette generator →

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