#7C7517#7C7517

#7C7517 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.109 H 104.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C7517
RGBrgb(124, 117, 23)
HSLhsl(56, 69%, 29%)
HSVhsv(56, 81%, 49%)
CMYKcmyk(0%, 5.6%, 81.5%, 51.4%)
CIE-LABlab(48.35, -8.19, 48.44)
CIE-LCHlch(48.35, 49.12, 99.60°)
OKLaboklab(55.19% -0.0281 0.1052)
OKLCHoklch(55.19% 0.109 104.9)
XYZxyz(14.8288, 17.0701, 3.3242)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7517 #171E7C
analogous
#7C4317 #7C7517 #517C17
triadic
#7C7517 #177C75 #75177C
tetradic
#7C7517 #177C43 #171E7C #7C1751
square
#7C7517 #177C43 #171E7C #7C1751
split-complementary
#7C7517 #17517C #43177C
monochromatic
#1A1805 #48440D #7C7517 #B0A621 #D9CE34

Accessibility & contrast

On white

4.76
#7C7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7C7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7517
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7517#FFFFFF#000000##FFFFFF
##7C75171.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#866C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7517;
/* rgb */ color: rgb(124, 117, 23);
/* oklch */ color: oklch(55.2% 0.109 104.9);
Tailwind
colors: {
  custom: {
    50: '#a59c5d',
    500: '#7c7517',
    950: '#000000',
  },
}
SCSS
$custom: #7c7517;
$custom-light: #a59c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7517",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 55.842,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55192,
    "c": 0.10892,
    "h": 104.9
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#7C7517
secondary
#3E46B1
accent
#48EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7517

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

Preview Lab → · Contrast checker → · Palette generator →

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