#7D6617#7D6617

#7D6617 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.9% C 0.097 H 91.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7D6617
RGBrgb(125, 102, 23)
HSLhsl(46, 69%, 29%)
HSVhsv(46, 82%, 49%)
CMYKcmyk(0%, 18.4%, 81.6%, 51%)
CIE-LABlab(44.13, 0.84, 44.67)
CIE-LCHlch(44.13, 44.68, 88.93°)
OKLaboklab(51.87% -0.0026 0.0971)
OKLCHoklch(51.87% 0.097 91.6)
XYZxyz(13.3643, 13.9254, 2.7944)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6617 #172E7D
analogous
#7D3317 #7D6617 #617D17
triadic
#7D6617 #177D66 #66177D
tetradic
#7D6617 #177D33 #172E7D #7D1761
square
#7D6617 #177D33 #172E7D #7D1761
split-complementary
#7D6617 #17617D #33177D
monochromatic
#1A1505 #493C0D #7D6617 #B19021 #DAB535

Accessibility & contrast

On white

5.55
#7D6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6617
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6617#FFFFFF#000000##FFFFFF
##7D66171.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726506
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#885D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d6617;
/* rgb */ color: rgb(125, 102, 23);
/* oklch */ color: oklch(51.9% 0.097 91.6);
Tailwind
colors: {
  custom: {
    50: '#a6915b',
    500: '#7d6617',
    950: '#000000',
  },
}
SCSS
$custom: #7d6617;
$custom-light: #a6915b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6617",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 46.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.09714,
    "h": 91.6
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D6617

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

Preview Lab → · Contrast checker → · Palette generator →

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