#7D6F29#7D6F29

#7D6F29 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.091 H 97.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7D6F29
RGBrgb(125, 111, 41)
HSLhsl(50, 51%, 33%)
HSVhsv(50, 67%, 49%)
CMYKcmyk(0%, 11.2%, 67.2%, 51%)
CIE-LABlab(46.83, -3.39, 39.70)
CIE-LCHlch(46.83, 39.85, 94.88°)
OKLaboklab(54.05% -0.0125 0.0902)
OKLCHoklch(54.05% 0.091 97.9)
XYZxyz(14.5428, 15.8896, 4.3984)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6F29 #29377D
analogous
#7D4529 #7D6F29 #617D29
triadic
#7D6F29 #297D6F #6F297D
tetradic
#7D6F29 #297D45 #29377D #7D2961
square
#7D6F29 #297D45 #29377D #7D2961
split-complementary
#7D6F29 #29617D #45297D
monochromatic
#211D0B #4F461A #7D6F29 #AB9838 #C8B658

Accessibility & contrast

On white

5.03
#7D6F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7D6F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6F29
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6F29#FFFFFF#000000##FFFFFF
##7D6F291.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C21
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#876760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d6f29;
/* rgb */ color: rgb(125, 111, 41);
/* oklch */ color: oklch(54.0% 0.091 97.9);
Tailwind
colors: {
  custom: {
    50: '#a59866',
    500: '#7d6f29',
    950: '#000000',
  },
}
SCSS
$custom: #7d6f29;
$custom-light: #a59866;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6f29",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 41
  },
  "hsl": {
    "h": 50,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.09103,
    "h": 97.9
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#7D6F29
secondary
#5463AE
accent
#65DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D6F29

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

Preview Lab → · Contrast checker → · Palette generator →

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