#7D6517#7D6517

#7D6517 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.6% C 0.097 H 90.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7D6517
RGBrgb(125, 101, 23)
HSLhsl(46, 69%, 29%)
HSVhsv(46, 82%, 49%)
CMYKcmyk(0%, 19.2%, 81.6%, 51%)
CIE-LABlab(43.84, 1.42, 44.41)
CIE-LCHlch(43.84, 44.44, 88.17°)
OKLaboklab(51.65% -0.001 0.0966)
OKLCHoklch(51.65% 0.097 90.6)
XYZxyz(13.2666, 13.7300, 2.7619)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6517 #172F7D
analogous
#7D3217 #7D6517 #627D17
triadic
#7D6517 #177D65 #65177D
tetradic
#7D6517 #177D32 #172F7D #7D1762
square
#7D6517 #177D32 #172F7D #7D1762
split-complementary
#7D6517 #17627D #32177D
monochromatic
#1A1505 #493B0D #7D6517 #B18F21 #DAB335

Accessibility & contrast

On white

5.61
#7D6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7D6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6517
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6517#FFFFFF#000000##FFFFFF
##7D65171.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6517;
/* rgb */ color: rgb(125, 101, 23);
/* oklch */ color: oklch(51.6% 0.097 90.6);
Tailwind
colors: {
  custom: {
    50: '#a6905b',
    500: '#7d6517',
    950: '#000000',
  },
}
SCSS
$custom: #7d6517;
$custom-light: #a6905b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6517",
  "rgb": {
    "r": 125,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 45.882,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.09655,
    "h": 90.6
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#7D6517
secondary
#3E59B2
accent
#65EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D6517

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

Preview Lab → · Contrast checker → · Palette generator →

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