#7D6F38#7D6F38

#7D6F38 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.077 H 95.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7D6F38
RGBrgb(125, 111, 56)
HSLhsl(48, 38%, 35%)
HSVhsv(48, 55%, 49%)
CMYKcmyk(0%, 11.2%, 55.2%, 51%)
CIE-LABlab(46.99, -2.19, 32.30)
CIE-LCHlch(46.99, 32.37, 93.88°)
OKLaboklab(54.23% -0.0072 0.0763)
OKLCHoklch(54.23% 0.077 95.4)
XYZxyz(14.8562, 16.0150, 6.0493)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6F38 #38467D
analogous
#7D4C38 #7D6F38 #687D38
triadic
#7D6F38 #387D6F #6F387D
tetradic
#7D6F38 #387D4C #38467D #7D3868
square
#7D6F38 #387D4C #38467D #7D3868
split-complementary
#7D6F38 #38687D #4C387D
monochromatic
#282412 #534925 #7D6F38 #A7954B #BFAF70

Accessibility & contrast

On white

5.00
#7D6F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7D6F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6F38
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6F38#FFFFFF#000000##FFFFFF
##7D6F381.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D33
Deuteranopia (green-blind)
#7C713A
Tritanopia (blue-blind)
#866862
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d6f38;
/* rgb */ color: rgb(125, 111, 56);
/* oklch */ color: oklch(54.2% 0.077 95.4);
Tailwind
colors: {
  custom: {
    50: '#a49870',
    500: '#7d6f38',
    950: '#000000',
  },
}
SCSS
$custom: #7d6f38;
$custom-light: #a49870;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6f38",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 56
  },
  "hsl": {
    "h": 47.826,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.07661,
    "h": 95.4
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#7D6F38
secondary
#6976A8
accent
#71CE5A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #7D6F38

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

Preview Lab → · Contrast checker → · Palette generator →

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