#7D6417#7D6417

#7D6417 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.4% C 0.096 H 89.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7D6417
RGBrgb(125, 100, 23)
HSLhsl(45, 69%, 29%)
HSVhsv(45, 82%, 49%)
CMYKcmyk(0%, 20%, 81.6%, 51%)
CIE-LABlab(43.56, 2.00, 44.16)
CIE-LCHlch(43.56, 44.20, 87.40°)
OKLaboklab(51.42% 0.0007 0.096)
OKLCHoklch(51.42% 0.096 89.6)
XYZxyz(13.1701, 13.5370, 2.7297)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6417 #17307D
analogous
#7D3117 #7D6417 #637D17
triadic
#7D6417 #177D64 #64177D
tetradic
#7D6417 #177D31 #17307D #7D1763
square
#7D6417 #177D31 #17307D #7D1763
split-complementary
#7D6417 #17637D #31177D
monochromatic
#1A1505 #493B0D #7D6417 #B18D21 #DAB135

Accessibility & contrast

On white

5.66
#7D6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6417
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6417#FFFFFF#000000##FFFFFF
##7D64171.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716307
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#885B55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d6417;
/* rgb */ color: rgb(125, 100, 23);
/* oklch */ color: oklch(51.4% 0.096 89.6);
Tailwind
colors: {
  custom: {
    50: '#a68f5b',
    500: '#7d6417',
    950: '#000000',
  },
}
SCSS
$custom: #7d6417;
$custom-light: #a68f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6417",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 45.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.096,
    "h": 89.6
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#7D6417
secondary
#3E5AB2
accent
#67EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D6417

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

Preview Lab → · Contrast checker → · Palette generator →

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